Ques. There is a new datatype
which can take as values natural numbers between (and including) 0
and 25. How many minimum bits are required to store this datatype.
Op 1: 4
Op 2: 5
Op 3: 1
Op 4: 3
Op 5:
Correct Op : 2
Ques. A data type is stored as an 6 bit signed integer. Which of the following cannot be represented
by this data type?
Op 1: 12
Op 2: 0
Op 3: 32
Op 4: 18
Op 5:
Correct Op : 3
Ques. A language has 28 different letters in total. Each word in the language is composed of
maximum 7 letters. You want to create a datatype
to store a word of this language. You decide to
store the word as an array of letters. How many bits will you assign to the datatype
to be able to store
all kinds of words of the language.
Op 1: 7
Op 2: 35
Op 3: 28
Op 4: 196
Op 5:
Correct Op : 2
Ques. A 10bit
unsigned integer has the following range:
Op 1: 0 to 1000
Op 2: 0 to 1024
Op 3: 1 to 1025
Op 4: 0 to 1023
Op 5:
Correct Op : 4
Ques. Rajni wants to create a datatype
for the number of books in her book case. Her shelf can
accommodate a maximum of 75 books. She allocates 7 bits to the datatype.
Later another shelf is
added to her bookcase.
She realizes that she can still use the same datatype
for storing the number of
books in her bookcase.
What is the maximum possible capacity of her new added shelf?
Op 1: 52
Op 2: 127
Op 3: 53
Op 4: 75
Op 5:
which can take as values natural numbers between (and including) 0
and 25. How many minimum bits are required to store this datatype.
Op 1: 4
Op 2: 5
Op 3: 1
Op 4: 3
Op 5:
Correct Op : 2
Ques. A data type is stored as an 6 bit signed integer. Which of the following cannot be represented
by this data type?
Op 1: 12
Op 2: 0
Op 3: 32
Op 4: 18
Op 5:
Correct Op : 3
Ques. A language has 28 different letters in total. Each word in the language is composed of
maximum 7 letters. You want to create a datatype
to store a word of this language. You decide to
store the word as an array of letters. How many bits will you assign to the datatype
to be able to store
all kinds of words of the language.
Op 1: 7
Op 2: 35
Op 3: 28
Op 4: 196
Op 5:
Correct Op : 2
Ques. A 10bit
unsigned integer has the following range:
Op 1: 0 to 1000
Op 2: 0 to 1024
Op 3: 1 to 1025
Op 4: 0 to 1023
Op 5:
Correct Op : 4
Ques. Rajni wants to create a datatype
for the number of books in her book case. Her shelf can
accommodate a maximum of 75 books. She allocates 7 bits to the datatype.
Later another shelf is
added to her bookcase.
She realizes that she can still use the same datatype
for storing the number of
books in her bookcase.
What is the maximum possible capacity of her new added shelf?
Op 1: 52
Op 2: 127
Op 3: 53
Op 4: 75
Op 5: