# Questions by Sanjay Sharma

1
2
3
4
5
6
7
1 vote
8
is given ans correct ?
9
Which of the following is not a monotonically increasing grammar? (A) Context-sensitive grammar (B) Unrestricted grammar (C) Regular grammar (D) Context-free grammar
1 vote
10
Given a mask, M=255.255.255.248. How many subnet bits are required for given mask M? (A) 2 (B) 3 (C) 4 (D)5
11
15. a) How many cards must be chosen from a standard deck of 52 cards to guarantee that at least two of the four aces are chosen? b) How many cards must be chosen from a standard deck of 52 cards to guarantee that at least two of the four aces and at least ... many cards must be chosen from a standard deck of 52 cards to guarantee that there are at least two cards of each of two different kinds?
12
13
$\text{What is the output of the following C program?}$ #include <stdio.h> main() { int i, j ,x=0 ; for (i=0; i <5 ; ++ i) for (j=0;j <i ;++j) { x+ = (i+j-1); break ; } printf(“%d” ,x); } $1)6 \;\;\; 2)5 \;\;\; 3)4 \;\;\; 4) 3$
1 vote
14
The Data Encryption Standard (DES) has a function consists of four steps. Which of the following is correct order of these four steps? An expansion permutation, S boxes, an XOR operation, a straight permutation An expansion permutation, an XOR operation, S-boxes, ... , S - boxes, an XOR operation, an expansion permutation A straight permutation, an XOR operation, S boxes, an expansion permutation
15
In a system for a restaurant the main scenario for placing order is given below: Customer reads menu Customer places order Order is sent to kitchen for preparation Order items are served Customer request for a bill for the order Bill is prepared for this order Customer is given the bill ... will have at least how many objects among whom the messages will be exchanged) 1) 3 (2) 4 (3) 5 (4) 6
16
Consider the following statements: $\mathbf{S_1:}\;\;$If a group $\mathbf{(G,*)}$ is of order $\mathbf n$ and $\mathrm {a \in G}$ is such that $\mathrm {a^m=e}$ for some integer $\mathrm {m \le n}$ then $\mathbf m$ must divide $\mathbf n$. $\mathbf {S_2:}\;\;$If a ... $(3)\;\;\;\text{Niether}\; \mathrm{S_1}\;\text{nor}\;\mathrm{S_2}$
17
Match List I List II a) Micro operation (i) Specify micro operation b) Microprogrammed control unit (ii) Improve CPU utilization c) Interrupts (iii) Control Memory d) Micro instruction (Iv) Elementary operation performed on data stored in registers Choose the correct option from these given below 1) a-iv , b-iii , c-ii , d ... , c-i , d-ii 3) a-iii , b-iv , c- i , d-ii 4) a-iii , b-iv , c-ii , d-i
$\mathbf{Que39}$ Let $\mathrm{a^{2c}\;mod\;n = a(a^c)^2\;mod\;n}$ and $\mathrm{a^{2c+1}\;mod\;n = a(a^c)^2\;mod\;n}$. For $\mathrm{a = 7, b = 17}$ and $\mathrm{n = 561}$. What is the value of $\mathrm{a^b(mod\;n)}$. $1) 160\;\;\; 2) 166 \;\;\; 3 ) 157 \;\;\; 4 ) 67$