SESSION 1
1. If
there are multiple recycle bin for a hard disk
A. You can set different size for each recycle bin
B. You can choose which recycle bin to use to store your deleted files
C. You can make any one of them default recycle bin
D. None of above
ANSWER: A
2. In which of the following form, data is stored in computer ?
A. Decimal
B. Binary
C. HexaDecimal
D. Octal
ANSWER: A
3. What is
full form CMOS ?
A. Content Metal Oxide Semiconductor
B. Complementary Metal Oxide Semiconductor
C. Complementary Metal Oxygen Semiconductor
D. Complementary Metal Oscilator Semiconductor
ANSWER: B
4. What is full form of SMPS ?
A. Switch Mode Power Supply
B. Simple Mode Power Supply
C. Storage Mode Power Supply
D. Storage Mode Power Shortage
ANSWER: A
5. IP
address version 4 is in which format ?
A. 4 bit
B. 8 bit
C. 16 bit
D. 32 bit
ANSWER: D
6. What
program runs first after computer is booted and loading GUI?
A. Desktop
Manager
B. File
Manager
C. Windows
Explorer
D. Authentication
ANSWER: D
7. My Computer was introduced from
A. Windows 3.1
B. Windows 3.11
C. Windows 95
D. Windows 98
ANSWER: C
8. A light sensitive device that converts drawing, printed text or other images into
digital form is
A. Keyboard
B. Plotter
C. Scanner
D. OMR
E. None of these
ANSWER: D
9. The basic architecture of computer was developed by
A. John Von Neumann
B. Charles Babbage
C. Blaise Pascal
D. Garden Moore
E. None of these
ANSWER: A
10. Microprocessor was introduced in which generation of computer?
A. Second Generation
B. Fourth Generation
C. Both (A) and (B)
D. Third Generation
ANSWER: B
11. Which of the following circuit is used as a 'Memory device' in computers?
A. Rectifier
B. Flip
Flop
C. Comparator
D. Attenuator
E. None of these
ANSWER: B
12. Convert (0.015625) to the base 10 to octal
A. 0.1
B. 0.001
C. 0.101
D. 0.01
ANSWER: D
13. Convert 7.16 to the base 10 to octal
A. 7.12212
B. 7.121272
C. 7.12172
D. 7.11221
ANSWER: C
14. Convert following octal to decimal: 156
A. 119
B. 120
C. 110
D. 111
ANSWER: C
15. Convert following binary to hexadecimal: 10100101
A. A3
B. A5
C. A6
D. A3
ANSWER: B
16. Convert following to hexadecimal: 1110101
A. 76
B. 75
C. 77
D. 87
ANSWER: B
17. One byte is equal to how many bits ?
A. 4 bits
B. 8 bits
C. 12 bits
D. 16 bits
ANSWER: B
18. What is meaning of EEPROM ?
A. Electronically Erasable Programmable Read only Memory
B. Electrically Erasable Programmable Read only Memory
C. Electronically Erasable Programmable Reach only Memory
D. Electrically Erasable Pratical Reach only Memory
ANSWER: B
19. Who is known as father of Artificial
Intelligence ?
A. John McCarthy
B. Vint Cerf
C. Dennis Ritchie
D. James Gosling
ANSWER: A
20. For 16-bit compiler allowable range for integer constants is ________?
A. -3.4e38 to 3.4e38
B. -32767 to 32768
C. -32668 to 32667
D. -32768 to 32767
ANSWER: D
21. C was primarily developed as
A. System programming language
B. General purpose language
C. Data processing language
D. None of the above.
ANSWER: A
22. In compilers generation of intermediate code based on an abstract machine model is
useful because
A. Syntax-directed translations can be written for intermediate code generation
B. To generate code for real machines directly from high-level language programs is
not possible
C. Portability of the front end of the compiler is enhanced
D. Implementation of lexical and syntax analysis is easier
ANSWER: D
23. Which of the following best describe volatile keyword?
A. Volatile keyword indicates that the variable is stored in volatile memory
B. Volatile keyword indicates that the value of the variable cannot be determined
at compile time
C. Volatile keyword instruct the compiler not to do any optimization on that
variable
D. Volatile keyword indicates that it cannot be used with const keyword
ANSWER: C
24. Standard ANSI C recognizes ______ number of keywords?
A. 30
B. 32
C. 24
D. 36
E. 40
ANSWER: B
25. Find the output of the following program.
void
main()
{
int i=065, j=65;
printf("%d %d", i, j);
}
A. 53 65
B. 65 65
C. 065 65
D. 053 65
E. Syntax
error
ANSWER: A
26. Many features of C were derived from an earlier language called _____.
A. B
B. PASCAL
C. BASIC
D. FORTRAN
E. BCPL
ANSWER: A
27. What is the difference between a declaration and a definition of a variable?
A. Both can occur multiple times, but a declaration must occur first.
B. A definition occurs once, but a declaration may occur many times.
C. Both can occur multiple times, but a definition must occur first.
D. A declaration occurs once, but a definition may occur many times.
E. There is no difference between them.
ANSWER: D
28. "My salary was increased by 15%" Select the statement, which will
EXACTLY reproduce the line of text above.
A. printf("My salary was increased by 15/%!");
B. printf("My salary was increased by 15%!");
C. printf("My salary was increased by 15'%'!");
D. printf("My salary was increased by 15%%!");
E. printf("My salary was increased by 15'%'!");
ANSWER: D
29. The correct sequence of GCC compilation process is
A. preprocessing -> compilation -> assemble -> linking
B. assemble -> preprocessing -> compilation -> linking
C. preprocessing -> assemble -> compilation -> linking
D. none of the mentioned
ANSWER: A
30. The compiler converts
A. assembly code into machine code
B. reprocessed source code into assembly code
C. machine code into assembly code
D. none of the mentioned
ANSWER: B
31. The object file contains the
A. assembly code
B. machine code
C. modified source code
D. none of the mentioned
ANSWER: B
32. If ASCII value of 'x' is 120, then what is the value of the H, if
H = ('x' –
'w' ) / 3;
A. 1
B. 2
C. 3
D. 4
E. 0
ANSWER: E
33. What will be output if you will compile and execute the following c code?
void
main(){
char
c=125;
c=c+10;
printf("%d",c);
}
A. 135
B. +INF
C. -121
D. -8
E. Compiler error
ANSWER: C
Explanation:
Range is from -128to127, so the value of c will be -121 as once it reaches 127,
the next value of c is-128.
34. C constants can be divided into _ categories?
A. 3
B. 6
C. 2
D. 4
ANSWER: C
EXPLANATION:
Primary and secondary
35. How many tokens are in the following:
if(age==21)
A. 4
B. 5
C. 6
D. 7
ANSWER: 6
36. The expression 5-2-3*5-2 will evaluate to 18 if ?
A. is left associative and * has precedence over -
B. is right associative and * has precedence over -
C. is right associative and - has precedence over *
D. if left associative and - has precedence over *
ANSWER: C
37. How would you round off a value from 1.66 to 2.0?
A. ceil(1.66)
B. floor(1.66)
C. roundup(1.66)
D. roundto(1.66)
ANSWER: A
38. By default a real number is treated as a
A. float
B. double
C. long double
D. far double
ANSWER: B
39. Global variable are available to all functions. Does there exist a mechanism by way of which it available to some and not to others.
A. Yes
B. No
ANSWER: B
EXPLANATION:
The only way this can be achieved is to define the variable locally in main()
instead of defining it globally and then passing it to the functions which need
it.
40. When do we mention the prototype of a function?
A. Defining
B. Declaring
C. Prototyping
D. Calling
ANSWER: B
EXPLANATION:
A function prototype in C or C++ is a declaration of a function that omits the
function body but does specify the function's name, argument types and return
type. While a function definition specifies what a function does, a function
prototype can be thought of as specifying its interface.
41. In the following program where is the variable a getting defined and where it is getting declared?
#include <stdio.h>
int main() {
extern int a;
printf("%d\n",
a);
return 0;
}
int a=20;
A. extern int a is declaration, int a = 20 is the definition
B. int a =20 is declaration, extern int a is the definition
C. int a =20 is definition, a is not defined
D. a is declared, a is not defined
ANSWER: A
EXPLANATION:
During declaration we tell the datatype of the Variable. - During definition
the value is initialized.
42. C programs are converted into machine language with the help of
A. A Compiler
B. An Operating System
C. An Editor
D. None of these
ANSWER: A
EXPLANATION:Compiler
converts high level language to low level language
43. What is operating system?
A. collection of programs that manages hardware resources
B. system service provider to the application programs
C. link to interface the hardware and application programs
D. All of the mentioned
ANSWER: D
44. Which one of the following error will be handle by the operating system?
A. power failure
B. lack of paper in printer
C. connection failure in the network
D. All of the mentioned
ANSWER: D
45. The systems which allows only one process execution at a time, are called
A. uniprogramming systems
B. uniprocessing systems
C. unitasking systems
D. None of the mentioned
ANSWER: A
EXPLANATION:
Those systems which allows more than one process execution at a time, are
called multiprogramming systems. Uniprocessing means only one processor.
46. A process can be terminated due to
A. normal exit
B. fatal error
C. killed by another process
D. All of the mentioned
ANSWER: D
47. The address of the next instruction to be executed by the current process is provided by the
A. CPU registers
B. program counter
C. process stack
D. pipe
ANSWER: B
EXPLANATION:
The program counter is responsible for holding the address of the next
instruction to be executed
48. If a process fails, most operating system write the error information to a
A. log file
B. another running process
C. new file
D. none of the mentioned
ANSWER: A
EXPLANATION:
The log file is used to store all the relevant error information or other
information pertaining to a particular process.
49. CD-ROM is a
A. Semiconductor memory
B. Memory
register
C. Magnetic memory
D. None of
above
ANSWER:D
50. The first electronic computer in the world was
A. UNIVAC
B. EDVAC
C. ENIAC
D. All of
above
ANSWER: C
No comments:
Post a Comment