Professional Documents
Culture Documents
no
3
4
5
6
7
8
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
questio
Is the following code correct to create a structure?_x000D_
typedef struct{...}x2;
How to read a charecter from the keyboard and will store it in the variable "a"
What function should be used to release allocated memory which is no longer needed?
#include<stdio.h>
int main()
{
printf("%d\t",sizeof(6.5));
printf("%d\t",sizeof(90000));
printf("%d",sizeof("A"));
return 0;
}
what will be the output of the following programmer
void main()
{
int a=5,b=10;
char ch="c";
float x=1.4;
if(a,b,ch,x)
{
Printf(???Hello???);
}
}
What is the output of the following program if its command line arguments were . . . sample 1 5 7
_x000D_
main(int argc, char *argv[])_x000D_
{_x000D_
int x;_x000D_
x = argv[1] + argv[2] + argv[3];_x000D_
printf ("%d", x);_x000D_
}
To interface external EPROM memory for applications, it is necessary to demultiplex the address/data
lines of the 8051
The I/O ports that are used as address and data for external memory are
The number of data registers is
Which port is used for AD0-AD7 lines in expanded mode of operations
If IP register only has the default priorities,then which of the following has the highest priority
When the 8051 is reset and the EA line is LOW, the program counter points to the first program
instruction in the
What is the time taken by one machine cycle if crystal frequency is 20MHz
If Timer 0 is to be used as a counter, then at what particular pin clock pulse need to be applied?
Ramya? sells? an? article? at? three- fourth? of? its? list? price? and? makes? a? loss? of? 10%.? Find?
the? profit? percentage? if? she? sells? at? the? list? price.
In a 1000 m race Usha beats Shiny by 50 m. In the same race, by what time margin Shiny beat Mercy
who runs at 4 m/s ?
How many words with or without meaning, can be formed by using all the letters of the word, ?
ORANGE?, using each letter exactly once?
A bag contains 2 yellow balls, 3 white balls and 5 red balls. In how many ways can two balls be drawn
from the bag?
What is the angle between the two hands of a clock when the time shown by the clock is 5.30 p.m. ?
If? today is Thursday , after 730 days which will be the day of the week ?
In a 1000 m race Usha beats Shiny by 50 m. In the same race, by what time margin Shiny beat Mercy
who runs at 4 m/s ?
Pointing to Manju, Raju said, ?The son of her only brother is the brother of my wife?. How is Manju
related to Raju?
A is the husband of B. E is the daughter of C. A is the father of C. How is B related to E?
A? man? bought? a? horse? and? a? carriage? for? Rs.? 3000.? He? sold?? the? horse? at? a? gain? of?
20%? and? the? carriage? at? a? loss? of? 10%,? thereby? gaining? 2%? on? the? whole.? Find? the?
cost? of? the? horse
A and B started a business investing Rs. 90,000 and Rs 20,000 respectively. In what ratio the profit
earned after 2 years be divided between A and B respectively?
Find the? average? of? first? 40? natural? numbers.
Is the following code correct to create a structure?_x000D_
typedef struct{...}x2;
How to read a charecter from the keyboard and will store it in the variable "a"
What function should be used to release allocated memory which is no longer needed?
#include<stdio.h>
int main()
{
printf("%d\t",sizeof(6.5));
printf("%d\t",sizeof(90000));
printf("%d",sizeof("A"));
return 0;
}
what will be the output of the following programmer
void main()
{
int a=5,b=10;
char ch="c";
float x=1.4;
if(a,b,ch,x)
{
Printf(???Hello???);
}
}
What is the output of the following program if its command line arguments were . . . sample 1 5 7
_x000D_
main(int argc, char *argv[])_x000D_
{_x000D_
int x;_x000D_
x = argv[1] + argv[2] + argv[3];_x000D_
printf ("%d", x);_x000D_
}
In a 1000 m race Usha beats Shiny by 50 m. In the same race, by what time margin Shiny beat Mercy
who runs at 4 m/s ?
How many words with or without meaning, can be formed by using all the letters of the word, ?
ORANGE?, using each letter exactly once?
A bag contains 2 yellow balls, 3 white balls and 5 red balls. In how many ways can two balls be drawn
from the bag?
What is the angle between the two hands of a clock when the time shown by the clock is 5.30 p.m. ?
If? today is Thursday , after 730 days which will be the day of the week ?
In a 1000 m race Usha beats Shiny by 50 m. In the same race, by what time margin Shiny beat Mercy
who runs at 4 m/s ?
Pointing to Manju, Raju said, ?The son of her only brother is the brother of my wife?. How is Manju
related to Raju?
A is the husband of B. E is the daughter of C. A is the father of C. How is B related to E?
A? man? bought? a? horse? and? a? carriage? for? Rs.? 3000.? He? sold?? the? horse? at? a? gain? of?
20%? and? the? carriage? at? a? loss? of? 10%,? thereby? gaining? 2%? on? the? whole.? Find? the?
cost? of? the? horse
A and B started a business investing Rs. 90,000 and Rs 20,000 respectively. In what ratio the profit
earned after 2 years be divided between A and B respectively?
Find the? average? of? first? 40? natural? numbers.
A ___________ tree is a tree where for each parent node, there is only one associated child node
In a heap, element with the greatest key is always in the ___________ node
Can stack be described as a pointer?
Which of the following linked list below have last node of the list pointing to the first node?
In _____________tree, the heights of the two child subtrees of any node differ by at most one
AVL trees have a faster __________
A ___________ tree is a tree where for each parent node, there is only one associated child node
Which value we cannot assign to reference?
Identify the incorrect statement
Identify the correct sentence regarding inequality between reference and pointer.
How to read a charecter from the keyboard and will store it in the variable "a"
What function should be used to release allocated memory which is no longer needed?
#include<stdio.h>
int main()
{
printf("%d\t",sizeof(6.5));
printf("%d\t",sizeof(90000));
printf("%d",sizeof("A"));
return 0;
}
void main()
{
int a=5,b=10;
char ch="c";
float x=1.4;
if(a,b,ch,x)
{
Printf(???Hello???);
}
}
What is the output of the following program if its command line arguments were . . . sample 1 5 7
_x000D_
main(int argc, char *argv[])_x000D_
{_x000D_
int x;_x000D_
x = argv[1] + argv[2] + argv[3];_x000D_
printf ("%d", x);_x000D_
}
Ramya? sells? an? article? at? three- fourth? of? its? list? price? and? makes? a? loss? of? 10%.? Find?
the? profit? percentage? if? she? sells? at? the? list? price.
In a 1000 m race Usha beats Shiny by 50 m. In the same race, by what time margin Shiny beat Mercy
who runs at 4 m/s ?
How many words with or without meaning, can be formed by using all the letters of the word, ?
ORANGE?, using each letter exactly once?
A bag contains 2 yellow balls, 3 white balls and 5 red balls. In how many ways can two balls be drawn
from the bag?
What is the angle between the two hands of a clock when the time shown by the clock is 5.30 p.m. ?
If? today is Thursday , after 730 days which will be the day of the week ?
In a 1000 m race Usha beats Shiny by 50 m. In the same race, by what time margin Shiny beat Mercy
who runs at 4 m/s ?
Pointing to Manju, Raju said, ?The son of her only brother is the brother of my wife?. How is Manju
related to Raju?
A is the husband of B. E is the daughter of C. A is the father of C. How is B related to E?
A? man? bought? a? horse? and? a? carriage? for? Rs.? 3000.? He? sold?? the? horse? at? a? gain? of?
20%? and? the? carriage? at? a? loss? of? 10%,? thereby? gaining? 2%? on? the? whole.? Find? the?
cost? of? the? horse
A and B started a business investing Rs. 90,000 and Rs 20,000 respectively. In what ratio the profit
earned after 2 years be divided between A and B respectively?
Find the? average? of? first? 40? natural? numbers.
Which of the following ways is a pre-order traversal?
The time required in best case for search operation in binary tree is
A ___________ tree is a tree where for each parent node, there is only one associated child node
In a heap, element with the greatest key is always in the ___________ node
Which of the following linked list below have last node of the list pointing to the first node?
In _____________tree, the heights of the two child subtrees of any node differ by at most one
AVL trees have a faster __________
A ___________ tree is a tree where for each parent node, there is only one associated child node
Which value we cannot assign to reference?
Identify the correct sentence regarding inequality between reference and pointer.
None of
float *ptr float ptr *float ptr the above
Yes No Both None
Dropmem
Free() Dealloc() Release() ()
Read a character from Read a character
STDIN from a file Both None
|| && @@ AND
Both A &
Integer int Null B
3 3.3 3 3
26 Z z Error
Unexpecte Runtime
Cannot compile 0d error
() [] * ->
Error 20 4 2
5432 0 1234 1111
None of
* and & and | and the above
00 22 45 11
C A a c
Error 20 4 2
Runtime
5,5.0 Compiler error 5.0 5.0 error
= != equal ==
double funct(char void
int funct(char x, char y); x) funct(); char x();
Both a Runtime
20,10 10,20 and b error
3 13 Error None
None of
1 0 Both the above
memory memory
write read
serial port input serial port output strobe strobe
external internal
internal code data data
external code memory memory memory memory
The 8051
has 64
bytes The 8051
The 8031 has no more is ROM-
The 8031 is ROM-less. interrupts. memory. less.
32k 64k 128K 256k
It is an
embedde
d
applicatio
It replaces the n with real A tool that
It is a hardware device microprocessor time allows
that connects to the with a simulated operating external
microprocessor equivalent system debugging
SP DPTR PSW PC
none of both of
the the
increases with every decreases with mentione mentione
push every push d d
A port is
by default
an output
0xFF 0x00 0x01 port
one uses
asynchron
ous means
of
communic one uses
ation and angular
the other means of
one uses uses the
asynchronous asynchron communic
means of ous and ation and
they are the names of communication synchrono the other
the same particular and the other uses us means uses linear
thing, just the synchronous of means of
difference of A and S is means of communic communic
there in it communication ation ation
None of Both of
the the
mentione mentione
RTS DTR d d
None of Both of
the the
mentione mentione
TTL logic level RS232 logic level d d
change a change a
bit of the bit of the
change a bit of the change a bit of the SCON SBUF
TMOD register PCON register register register
32 34 35 36
25 days 35 days 23 days 30days
7 29 41 67
multiple
12 24 12-x of 12
None of?
Rs. 40 Rs. 50 Rs. 49 these
None? of?
these????
20% 25% 15% ?????
28.5
20 km/hr 24 km/hr? km/hr 30 km/hr
Data not
100 sec 50 sec 25 sec sufficient
0 5 3 15
Thursday Friday? Saturday Monday
Data not
100 sec. 50 sec??? 25 sec?? sufficient
Sister of
Mother- father-in-
Mother?s sister Grandmother in-law law
Mother Grandmother Aunt Cousin
Wednesda
Thursday. Monday y saturday
None of
float *ptr float ptr *float ptr the above
Yes No Both None
Dropmem
Free() Dealloc() Release() ()
Read a character from Read a character
STDIN from a file Both None
|| && @@ AND
Both A &
Integer int Null B
3 3.3 3 3
26 Z z Error
Unexpecte Runtime
Cannot compile 0d error
() [] * ->
Error 20 4 2
5432 0 1234 1111
None of
* and & and | and the above
00 22 45 11
C A a c
Error 20 4 2
Runtime
5,5.0 Compiler error 5.0 5.0 error
= != equal ==
double funct(char void
int funct(char x, char y); x) funct(); char x();
Both a Runtime
20,10 10,20 and b error
3 13 Error None
32 34 35 36
7 29 41 67
multiple
12 24 12-x of 12
None of?
Rs. 40 Rs. 50 Rs. 49 these
None? of?
these????
20% 25% 15% ?????
28.5
20 km/hr 24 km/hr? km/hr 30 km/hr
Data not
100 sec 50 sec 25 sec sufficient
0 5 3 15
Thursday Friday? Saturday Monday
Data not
100 sec. 50 sec??? 25 sec?? sufficient
Sister of
Mother- father-in-
Mother?s sister Grandmother in-law law
Mother Grandmother Aunt Cousin
Wednesda
Thursday. Monday y saturday
complete
rooted complete binary degenerat
balanced binary tree binary tree tree e tree
circular
circular doubly linked singly doubly
list circular linked list linked list linked list
Noth left
and right
subtree
nodes
contains
only
The right subtree nodes
The left subtree of a of a node contains with keys
node contains only only nodes with less than
nodes with keys less keys greater than Both a the node's
than the node's key the node's key. and b key
Both a
FILO FIFO LILO and b
both a
nodes data and b address
complete
rooted complete degenerat binary
balanced binary tree binary tree e tree tree
integer floating unsigned null
A
reference
value once None of
Reference is the A reference value defined the
alternate name of the once defined can cannot be mentione
object be reassigned reassigned d
none of
the
mentione
& $ # d
Alternate None of
name for the
Alternate name for the Alternate name for the mentione
class the variable pointer d
we can
use none of
reference the
we can not create the we can create the to mentione
array of reference Array of reference reference d
all of the
mentione
int float double d
none of
when it cast to using the
when it doesn?t point another type of delete mentione
to any value object keyword d
both of none of
the the
mentione mentione
pointer arithemetic pointer functions d d
none of
the
mentione
objects members datas d
it will be none of
declared the
it will not allocate any it will allocate the and mentione
memory memory initialized d
struct struct
struct a_struct {int a_struct a_struct
struct {int a;} a;} int a; {int a;};
b->var; b.var; b-var; b>var;
postfix unary shift equality
none of
the
casting mentione
conditional relational operator d
it will
convert
the
operator none of
it converts virtual based on the
it converts virtual base base object to precedenc mentione
class to derived class derived objeccts e d
None of
float *ptr float ptr *float ptr the above
Yes No Both None
Dropmem
Free() Dealloc() Release() ()
Read a character from Read a character
STDIN from a file Both None
|| && @@ AND
Both A &
Integer int Null B
3 3.3 3 3
26 Z z Error
CompilerE
Error Hello rror None
Unexpecte Runtime
Cannot compile 0d error
() [] * ->
Error 20 4 2
None of
* and & and | and the above
00 22 45 11
C A a c
int *p[10] int[10]*p int(*p)[10] None
Wrong
Yes No Question None
Wrong
Yes No Question None
&& operator & || !
&& operator & || !
"c" means
"c" means argument
argument configurati
"c" means count "v" on "v"
"c" means argument argument count "v" means means
control "v" means means argument argument argument
argument vector vertex vector visibility
long
float double double fardouble
Error 20 4 2
Both a Runtime
20,10 10,20 and b error
3 13 Error None
32 34 35 36
7 29 41 67
multiple
12 24 12-x of 12
None of?
Rs. 40 Rs. 50 Rs. 49 these
None? of?
these????
20% 25% 15% ?????
28.5
20 km/hr 24 km/hr? km/hr 30 km/hr
Data not
100 sec 50 sec 25 sec sufficient
0 5 3 15
Thursday Friday? Saturday Monday
Data not
100 sec. 50 sec??? 25 sec?? sufficient
Sister of
Mother- father-in-
Mother?s sister Grandmother in-law law
Mother Grandmother Aunt Cousin
Wednesda
Thursday. Monday y saturday
complete
rooted complete binary degenerat
balanced binary tree binary tree tree e tree
none of
Yes NO the above 0
Both a
Hash tables Heaps and b Skip list
circular
circular doubly linked singly doubly
list circular linked list linked list linked list
Noth left
and right
subtree
nodes
contains
only
The right subtree nodes
The left subtree of a of a node contains with keys
node contains only only nodes with less than
nodes with keys less keys greater than Both a the node's
than the node's key the node's key. and b key
Both a
FILO FIFO LILO and b
both a
nodes data and b address
right sub left sub
tree-> left tree->
Root->left sub tree-> Root->right sub sub tree- root->right
right sub tree tree-> left sub tree >Root sub tree
complete
rooted complete degenerat binary
balanced binary tree binary tree e tree tree
integer floating unsigned null
A
reference
value once None of
Reference is the A reference value defined the
alternate name of the once defined can cannot be mentione
object be reassigned reassigned d
none of
the
mentione
& $ # d
Alternate None of
name for the
Alternate name for the Alternate name for the mentione
class the variable pointer d
we can
use none of
reference the
we can not create the we can create the to mentione
array of reference Array of reference reference d
all of the
mentione
int float double d
none of
when it cast to using the
when it doesn?t point another type of delete mentione
to any value object keyword d
both of none of
the the
mentione mentione
pointer arithemetic pointer functions d d
none of
the
mentione
objects members datas d
it will be none of
declared the
it will not allocate any it will allocate the and mentione
memory memory initialized d
struct struct
struct a_struct {int a_struct a_struct
struct {int a;} a;} int a; {int a;};
b->var; b.var; b-var; b>var;
postfix unary shift equality
none of
the
casting mentione
conditional relational operator d
it will
convert
the
operator none of
it converts virtual based on the
it converts virtual base base object to precedenc mentione
class to derived class derived objeccts e d