Posts

Showing posts from September, 2024

Let Us C Solutions:Chapter 1

Let Us C Solutions:Chapter 1  Exercise    [A] Which of the following are invalid variable names and why?   BASICSALARY  Ans . It is a valid variable .   _basic  Ans . It is a valid variable .  basic-hra  Ans . It is a invalid variable because ‘-’ is used (only alphabet, hyphen and numbers can be used in a variable name).  #MEAN Ans . It is invalid variable name since variable name cannot contain (#).  group.  Ans . It is invalid variable name since variable name cannot contain (.)  422  Ans . It is invalid variable name because variable name cannot Start from number.  Population in 2006  Ans . It is invalid variable name because space cannot be used in a variable name.  over time  Ans . It is invalid   mindovermatter   Ans. It is a valid variable name.  FLOAT  Ans . It is a valid variable name.   hELLO  Ans . It is a valid variable name....

Sets Class 11 Exercise 1.2 Solution

Sets Class 11 Exercise 1.2 Solution  1. Which of the following are examples of the null set (i) Set of odd natural numbers divisible by 2 (ii) Set of even prime numbers (iii) { x : x is a natural numbers, x < 5 and x > 7 } (iv) { y : y is a point common to any two parallel lines} Solution. (I), (iii) and (iv) are null sets 2. Which of the following sets are finite or infinite (i) The set of months of a year Solution. This is a finite set. (ii) {1, 2, 3, . . .} Solution. This is an infinite set. (iii) {1, 2, 3, . . .99, 100} Solution. This is a finite set. (iv) The set of positive integers greater than 100 Solution. This is a finite set. (v) The set of prime numbers less than 99 Solution. This is an infinite set. 3. State whether each of the following set is finite or infinite: (i) The set of lines which are parallel to the x-axis. Solution. This is an infinite set. (ii) The set of letters in the English alphabet. Solution. This is a finite set. (iii) The...

Sets Class 11 Exercise 1.1 Solutions

Sets Class 11 Exercise 1.1 Solutions 1. Which of the following are sets ? Justify your answer. (i) The collection of all the months of a year beginning with the letter J.  Solution: It is a set, as here defined elements are collected. (ii) The collection of ten most talented writers of India.   Solution: It is not a set, as we cannot define who is most talented writer. (iii) A team of eleven best-cricket batsmen of the world.    Solution: It is not a set as definition of best batsman is not given. (iv) The collection of all boys in your class.   Solution: It is a set, since we can count the number of boys in your class. (v) The collection of all natural numbers less than 100.   Solution: It is a set as we can write all the natural numbers less than 100. (vi) A collection of novels written by the writer Munshi Prem Chand.  Solution: It is a set because we know which book we have to pick. (vii) The collection of all even integers. Solution: It...