Programming For Problem Solving MCQs
Programming For Problem Solving MCQs
in
(a) Compiler
(b) Interpreter
(c) Assembler
4. ALU is?
(a) Compiler
(b) Interpreter
(c) Debugger
(d) Assembler
computer?
(a) Mouse
www.aktutor.in
(b) DVD
(c) Keyboard
(d) Memory
13. In the evaluation of a computer language, all of the following characteristics should be
considered except?
a) application oriented features
b) readability
c) efficiency
d) hardware maintenance costs
computer?
(a) Processor
(b) RAM
(c) ROM
(c) Processor
corresponding bits
www.aktutor.in
(a) ANSI
(b) EBCDIC
(c) ISO
(d) ASCII
represented in?
(a) Kilobits
(b) Kilobytes
(c) Cache
(d) ROM
(a) Printing
(b) Output
(c) Input
(d) Sound
__________
(a) Memory
28. Which among following is not necessary for working of a standalone computer?
A) RAM
B) Hard Drive
C) Operating System
D) LAN card
33. To Learn Computer, without going to classroom what will be other way
a) Distance Learning
b) I-Learning
c) Digital Learning
d) E-Learning
b) xyz@website@info
c) xyz.website.info
d) xyzwebsite.info
36. Which software is used to operate the computer hardware and to provide a platform for running
application software
(b) Software
need?
(c) Software
47. When a key is pressed on keyboard, which standard is used for converting the keystroke into the
corresponding bits
(a) ANSI
(b) ASCII
(c) EBCDIC
(d) ISO
55. Why is it important to keep Windows updated using the Windows update website or automatic
updates?
(A) To keep your system secure and to install critical updates.
(B) To keep your system fast.
(C) To keep your system optimized for the new game.
(D) To keep your system from overheating.
57. In Microsoft Excel you can use the horizontal and vertical scroll bar to
(A) Split a worksheet to two panes
(B) Edit the contents of a cell
(C) View different rows and columns
www.aktutor.in
58. The system unit of a personal Computers typically contains all of the following except:
(A) Microprocessors
(B) Disk controller
(C) Serial interface
(D) Modem
62. What do you call the translator which takes assembly language program as inputand produce
machine language code as output?
(A) Compiler
(B) Interpreter
(C) Debugger
(D) Assembler
a) Processing
b) Condition
c) Data flow
d) Input/output
68. ______ is generally used to increase the apparent size of physical memory.
(a) Secondary memory
(b) Virtual memory
(c) Hard-disk
(d) Disks
79. What should be written in the program to get newline on the screen?
(a) printf(“\n”);
(b) echo\\n;
(c) printf(‘\n’);
(d) printf(\\n);
81. If we want to increment the value of sum by 1. Which of following should be used?
(a) sum++;
(b) sum = sum+1;
(c) sum+=1;
(d) all of above
85. To round off x, which is a float, to an int value, which one is correct?
(a) y = (int)(x+0.5)
(b) y = int(x+0.5)
(c) y = (int)x+0.5
(d) y = (int) ((int)x+0.5)
(c) *
(d) >>
b) During execution
c) After compilation
a) TRUE
b) May Be
c) FALSE
d) Can't Say
letters.
a) TRUE
b) May Be
c) FALSE
d) Can't Say
www.aktutor.in
ptr?
(a)100
(b)101
(c)102
(d)103
type ________
(a) Integer
(b) Floating
(c) Hexadecimal
(d) Character
sorter.
a) Radix sort
b) Insertion
c) Heap
d) Quick
a) quick sort
b) tree sort
c) heap sort
d) bubble sort
linear search?
www.aktutor.in
a) 25
b) 50
c) 75
d) 100
108. How many times the following code prints the string “hello”
for(i=1;i<=50;i++);
{
printf(“Hello”);
}
(a)1
(b)Zero
(c)50
(d) None ofthem
121. Which of the following function is more appropriate for reading in a multi word string?
(a) printf();
(b) scanf();
(c) gets();
(d) puts();
133. Which of the following operator is used to select a member of a structure variable
(a) .(dot)
(b) ,(comma)
(c) : (colon)
(d) ;(semicolon)
141. Which function should be used to release allocated memory which is not needed?
(a) dealloc
(b) free()
(c) release()
(d) unalloc()
144. Which function is used to put the file pointer at the desired location in the file?
(a) fseek()
(b) rewind()
(c) ftell()
(d) fptr()