4 Mega Revision Computer Notes
4 Mega Revision Computer Notes
-
Who is the father of computing?
(a) Alan Turing -> Ratherof modern comp
(b) Jon Von Neumann
X
(c) Charles Babbage
(d) Ada Lovelace
What is a specialized software program that allows input
and output devices to communicate with the rest of the
computer system?
(a) Utility driver④
clearner
antivirus
> disk
(b) Utility program # ,
X
(d) PDF
=555
What type of errors are not detected by assemblers?
-
↑
12.125 converts to binary as
(a) 1100.010
Y
(b)
-
1100.001
12 , 0
= 11002
=
(c) 1110.010
(d) 1110.001
The sum of two binary numbers 111 and 101 is
(a) 1000 11
(b) 1110 1
11 I
V
(c) 1100
(d) None + 101
-
100
The binary number 100110010 is equal to hexadecimal
numbers
(a) 22
B
(b) 37
(c) 41
(d) 132
-
ASCII stands for :
V
(a) American Standard Code for Information Interchange
(b) American Secure Code for Information Interchange
(c) American Secure Conversion and Information
Interchange
(d) American Standard Conversion and Information
Interchange
MSB .
It 0
60- Grey
=
3 118 => T
-
00 0 0 + 1 1 [ =
= . .
100 1
=
Y
(b) 0101 =
Hexa = 16 number
F
-
=
2 wembess
The binary system used by a digital computer consists of:
-
(a) 10 numbers
AB---
&
~
(c) 2 numbers
-
F
(d) 1 number &
00Od
00011010
decin ↑
TheM binary equivalent of (1A)16 is e
Fo
(a) 31
+2
(b) 26 24
(c) 32 =
(d) None
456) /10
The octal number 456 in decimal system is equal to:
--
(a) 294
455
(b) 296
(c) 300
↓↓
O
C
(d) 302
6X8
s
-
4x8
not
=
4464
>
Which one of the following is not a valid rule of Boolean
algebra? 1
A 1+ =
(a) A + 1 = 1
↑
(b) A = A'
A =
(A))
(c) AA = A
(d) A + 0 = A
The Boolean function a + a’b is equivalent to
-a
(a) a . b
+ b
=
(b) a + b
(c) a’ . b
(d) a’ + b a + ab =
An operating system is a
(a) Hardware
A
(b) Software
(c) Peopleware
(d) None
zoc
=
#111II
N ? "-1
-to
za
vo
zo P
E
D
G
>
-
-
N
All keywords in C are in ____________
N
a) LowerCase letters
b) UpperCase letters
c) CamelCase letters
d) None of the mentioned
Which is valid C expression?
a) int my_num = 100,000;
O
Y
b) int my_num =-
100000; -
a) immutable
b) mutable
Ic) const
d) volatile
What is #include <stdio.h>?
N
a) Preprocessor directive
b) Inclusion directive
c) File inclusion directive
d) None of the mentioned
The C-preprocessors are specified with _________
=
symbol.
v
a) #
b) $
c) ” ”
d) &
What is output?
#include <stdio.h>
P2
Fl
int x = 0;
int f()
=
{
}
=?
return x;
}
int main()
{ f
printf("%d", g());
printf("\n");
getchar();
}
A. Error
-
↓B. 0 C. 1
-
D. 0 1
-
#include <stdio.h>
int main()
{
int y = 10000;
int y = 34; //#
Error: Redeclaration of 'y'
printf("Hello World! %d\n", y);
return 0;
}
A. Hello World! 34
B. Hello World! 1000
↓C. Error E
D. Logical Error
What will be the output of the following C code?
(Initial values: x= 7, y = 8)
#include <stdio.h>
void main()
{ ↓
that &
float x;
int
x
=7
Fint y; = 8
a) 7.000000, 7
zint
b) Run time error
c) 7.000000,I
~ -
junk
d) Varies
In operating system, each process has its own
-
__________
a) open files
b) pending alarms, signals, and signal handlers
c) address space and global variables
Y
d) all of the mentioned
Whose trademark is OS UNIX?
~
A. Bell Laboratories -
Bell Labs
B. Ashton Tate A
C. Microsoft
D. Motorola Ken Thompson
Dennis Ritchie .
PYQZOM
↑res
O
⑦
The operating system is responsible for?
a) bad-block recovery
b) booting from disk
c) disk initialization
N
d) all of the mentioned
It is designed to perfrom smaller number of types of
computer instructions, so that it can operate on high
speed. -
A. CISC > -
complex-
speed
Thigh
RISC processors only use simple instructions that can be
executed within
A. Access time
B. One bit #
V
C. One clock per cycle clock multiple
D. All of these one
cycle dock
per .
agled
A hard disk has a rotational speed of 6000 rpm. Its
average latency time is
f
A. 5 x 10-3 sec
for one full not
tooose -
2
0 05
secs
-
-
5x10'3
sec
20 -
-
Latency
.
=
Any
.
The main purpose of _____ is to resolve references
among files.
A. Text editor -
>
text
B. Loader Y
C. Antivirus
Y
D. linker = referencelinking
O O
N
guBS:
&