## Interview MCQ Set 1

1. It is possible to make array of booleans.

a) True

b) False

### View Answer

2. What is the output of the given code?

string_array = ["a","e","i","o","u"] print string_array

a) [“a”,”e”,”i”,”o”,”u”].

b) Error

c) Vowels

d) None of the mentioned

### View Answer

Output: ["a","e","i","o","u"]

3. What is the output of the given code?

string_array = ["a","e","i","o","u"] print string_array[3]

a) [“a”,”e”,”i”,”o”,”u”].

b) Error

c) o

d) None of the mentioned

### View Answer

Output: o

4. What is the output of the given code?

string_array = ["a","e","i","o","u"] boolean_array = ["True","False"] puts string_array[3] puts boolean_array

a) [“a”,”e”,”i”,”o”,”u”].

b) Error

c) o

True

False

d) None of the mentioned

### View Answer

Output: o True False

5. What is the output of the given code?

string_array = ["a","e","i","o","u"] boolean_array = ["True","False"] puts string_array[3] puts boolean_array[1]

a) [“a”,”e”,”i”,”o”,”u”].

b) Error

c) o

False

d) None of the mentioned

### View Answer

Output: o False

6. What is the output of the given code?

a=[1,2,3,4,5] b=[1,2,4,6,8] if a[3]==b[2] print "Equal" end

a) Equal

b) Error

c) 4

d) None of the mentioned

### View Answer

Output: Equal

7. What is the output of the given code?

a=[1,2,3,4,5] b=[1,2,3,4,5] if a==b print "Equal" else print "Not equal" end

a) Equal

b) Error

c) Not equal

d) None of the mentioned

### View Answer

Output: Equal

8. What is the output of the given code?

a=["hey", "ruby", "language"] b=["hey", "ruby", "language"] if a==b print "Equal" else print "Not equal" end

a) Equal

b) Error

c) Not equal

d) None of the mentioned

### View Answer

Output: Equal

9. What is the output of the given code?

a=["hey", "ruby", "language"] b=["hey", "language", "ruby"] if a==b print "Equal" else print "Not equal" end

a) Equal

b) Error

c) Not equal

d) None of the mentioned

### View Answer

Output: Not equal

10. What is the output of the given code?

a=["hey", "ruby", "language"] b=[1, 2, 3] puts b[1] puts a[2]

a) 3 ruby

b) Error

c) 2

language

d) None of the mentioned

### View Answer

Output: 2 language

## Interview MCQ Set 2

1. Find the order of the group G = <Z12*, ×>?

a) 4

b) 5

c) 6

d) 2

### View Answer

2. Find the order of the group G = <Z21*, ×>?

a) 12

b) 8

c) 13

d) 11

### View Answer

3. Find the order of group G= <Z20*, x>

a) 6

b) 9

c) 10

d) 8

### View Answer

4. Find the order of group G= <Z7*, x>

a) 6

b) 4

c) 3

d) 5

### View Answer

5. “In the group G = <Zn*, ×>, when the order of an element is the same as order of the group (i.e. f(n)), that element is called the Non – primitive root of the group.”

a) True

b) False

### View Answer

6. In the order of group G= <Z20*, x>, what is the order of element 17?

a) 16

b) 4

c) 11

d) 6

### View Answer

7. The order of group G= <Z9, x> , primitive roots of the group are –

a) 8 , Primitive roots- 2,3

b) 6 , Primitive roots- 5

c) 6 , Primitive roots- 2,5

d) 6 , Primitive roots- 5,7

### View Answer

8. Which among the following values: 17, 20, 38, and 50, does not have primitive roots in the group G = <Zn*, ×>?

a) 17

b) 20

c) 38

d) 50

### View Answer

9. Find the number of primitive roots of G=<Z11*, x>?

a) 5

b) 6

c) 4

d) 10

### View Answer

10. Find the primitive roots of G=<Z11*, x>?.

a) {2, 6, 8}

b) {2, 5, 8}

c) {3, 4, 7, 8}

d) {2, 6, 7, 8}

### View Answer

11. “If a group has primitive roots, it is a cyclic group”

a) True

b) False

### View Answer

12. Find the primitive roots of G = <Z10*, ×>.

a) {2, 6, 8}

b) {3,6 ,9}

c) {3, 7, 8}

d) {3, 7}

### View Answer

13. “The group G = <Zp*, ×> is always cyclic.”

a) True

b) False

### View Answer

## Interview MCQ Set 3

1. What is the symbol used for mass?

a) M

b) L

c) A

d) V

### View Answer

2. What is the symbol used for length?

a) W

b) M

c) L

d) K

### View Answer

3. What is the symbol used for time?

a) M

b) H

c) K

d) T

### View Answer

4. What is the symbol used for gravity?

a) g

b) h

c) k

d) v

### View Answer

^{2}.

5. What is the symbol used for dynamic viscosity?

a) σ

b) µ

c) λ

d) δ

### View Answer

6. What is the symbol used for thermal conductivity?

a) v

b) g

c) h

d) k

### View Answer

7. What is the symbol used for specific heat?

a) C _{S}

b) C _{R}

c) C _{P}

d) C _{M}

### View Answer

8. What is the symbol used for convective film coefficient?

a) v

b) h

c) σ

d) µ

### View Answer

^{2}degree.

9. What is the symbol used for kinematic viscosity?

a) v

b) λ

c) µ

d) σ

### View Answer

^{2}/s.

10. What is the symbol used for coefficient of volumetric expansion?

a) λ

b) µ

c) δ

d) β

### View Answer

## Interview MCQ Set 4

1. In terms of the size of the network the correct order (ascending) is –

a) PAN, MAN, LAN, WAN

b) LAN, MAN, WAN, PAN

c) PAN, LAN, MAN, WAN

d) LAN, PAN, MAN, WAN

### View Answer

2. How many layers are there in the OSI reference model?

a) 4

b) 5

c) 6

d) 7

### View Answer

3. Logical Addressing and Routing are functions of which layer?

a) Physical Layer

b) Transport Layer

c) Data Link Layer

d) Network Layer

### View Answer

4. Flow Control and Error Control are functions of which layer?

a) Physical Layer

b) Application Layer

c) Data Link Layer

d) Network Layer

### View Answer

5. Dialog Control and Synchronization are function of which layer?

a) Presentation Layer

b) Application Layer

c) Session Layer

d) Data Link Layer

### View Answer

6.Encryption and Compression are functions of which OSI layer?

a) Presentation Layer

b) Application Layer

c) Session Layer

d) Data Link Layer

### View Answer

7. File, Transfer, Access and Management (FTAM) is a function of which layer ?

a) Presentation Layer

b) Application Layer

c) Session Layer

d) Data Link Layer

### View Answer

8. How many layers are present in the TCP/IP Reference model?

a) 6

b) 7

c) 5

d) 4

### View Answer

## Interview MCQ Set 5

1. In AES, to make the s-box, we apply the transformation –

b’i = bi XOR b(i+4) XOR b(i+5) XOR b(i+6) XOR b(i+7) XOR ci

What is ci in this transformation?

a) ci is the ith bit of byte c with value 0x63

b) ci is the ith bit of byte c with value 0x25

c) ci is the ith bit of byte c with value 0x8F

d) ci is the ith bit of byte c with value 0x8A

### View Answer

2. The inverse s-box permutation follows,

b’i = b(i+2) XOR b(i+5) XOR b(i+7) XOR di

Here di is –

a) di is the ith bit of a byte ‘d’ whose hex value is 0x15

b) di is the ith bit of a byte ‘d’ whose hex value is 0x05

c) di is the ith bit of a byte ‘d’ whose hex value is 0x25

d) di is the ith bit of a byte ‘d’ whose hex value is 0x51

### View Answer

3. What is the block size in the Simplified AES algorithm?

a) 8 bits

b) 40 bits

c) 16 bits

d) 36 bits

### View Answer

4. Which function can be used in AES multiplication –

a) m(x)=x^{7}+x^{4}+x^{3}

b) m(x)=x^{8}+x^{4}+x^{3}+x+1

c) m(x)=x^{8}+x^{3}+x^{2}+x+1

d) m(x)=x^{8}+x^{5}+x^{3}+x

### View Answer

^{8}+x

^{4}+x

^{3}+x+1 stands for 100011011 which is an irreducible polynomial. Others are not irreducible polynomials.

5. In the DES algorithm the Round Input is 32 bits, which is expanded to 48 bits via ______________

a) Scaling of the existing bits

b) Duplication of the existing bits

c) Addition of zeros

d) Addition of ones

### View Answer

6. Using Differential Crypt-analysis, the minimum computations required to decipher the DES algorithm is-

a) 2^{56}

b) 2^{43}

c) 2^{55}

d) 2^{47}

### View Answer

^{47}computations to decipher the DES algorithm.

7. Using SDES, the Plaintext for the Ciphertext 00001111, given that the key is 1111111111 is,

a) 01100111

b) 00001010

c) 11111111

d) 01101101

### View Answer

8. 12. For p = 11 and q = 17 and choose e=7. Apply RSA algorithm where Cipher message=11 and thus find the plain text.

a) 88

b) 122

c) 143

d) 111

### View Answer

9. Reduce the following Big-O notation. O[ ax^{7} + 3 x^{3} + sin(x)] =

a) O[ax^{7}].

b) O[sin(x)].

c) O[x^{7}].

d) O[x^{7} + x^{3}].

### View Answer

^{7}+ 3 x

^{3}+ sin(x)] = O(ax

^{7}) = O(x

^{7}).

10. Reduce the following Big-O notation. O[ e^{n} + an^{10}] =

a) O[ an^{10}].

b) O[ n^{10} ].

c) O[ e^{n} ].

d) O[ e^{n}+ n^{10} ].

### View Answer

^{n}+ an

^{10}] = O[ e

^{n}].