Question 11
B(a) means “a is a bear” F(a) means “a is a fish” and E(a, b) means “a eats b”Then what is the best meaning of
∀x[F(x) ⇒ ∀y(E(y, x) ⇒ B(y))]
Question 12
Following declaration of an array of struct, assumes size of byte, short, int and long are 1, 2, 3 and 4 respectively. Alignment rule stipulates that n-byte field must be located at an address divisible by n. The fields in a struct are not rearranged, padding is used to ensure alignment. All elements of array should be of same size.
Struct complex Short s Byte b Long l Int i End complex Complex C[10]
Assuming C is located at an address divisible by 8, what is the total size of C, in Bytes ?
Question 13
Question 14
Statements associated with registers of a CPU are given. Identify the false statement.
Question 15
Question 17
Question 18
Question 19
Huffman tree is constructed for the following data: {A, B, C, D, E} with frequency {0.17, 0.11, 0.24, 0.33 and 0.15} respectively. 100 00 01101 is decoded as
Question 20
s → T * S⏐T T → U + T⏐U U → a⏐bWhich of the following statement is wrong ?
There are 80 questions to complete.