90+ Fundamentals of Computer Programming 1 Solved MCQs

1.

What are the three main types of computer programming languages?

A. Machine language, assembly language, high level language
B. Imperative language, functional language, declarative language
C. COBOL, Fortran-77, C++
D. A & C
Answer» A. Machine language, assembly language, high level language
2.

One of the Cobol Program division is

A. Environment Division
B. Coding division
C. Specification Division
D. Editing Division
Answer» A. Environment Division
3.

Every computer has a set of operation code called as .

A. Data Set
B. Both
C. None
D. Instruction Set
Answer» D. Instruction Set
4.

Which of the translator program converts assembly language program into equivalent machine language program?

A. Compiler
B. Linker
C. Assembler
D. Interpreter
Answer» C. Assembler
5.

Which language makes use of mnemonics instead of numeric op-codes & symbolic names for data locations instead of numeric address?

A. Machine Language
B. Assembly Language
C. None
D. High Level Language
Answer» B. Assembly Language
6.

Which of the programming language is said to be machine independent language?

A. High Level Language
B. Machine Language
C. Assembly Language
D. All the Above
Answer» A. High Level Language
7.

Which of the translator program converts high level language into its equivalent machine language?

A. Interpreter
B. Linker
C. Assembler
D. Compiler
Answer» D. Compiler
8.

Which program takes multiple object program files‟ fits them together to assemble them into the program's final executable form?

A. Assembler
B. Interpreter
C. Compiler
D. Linker
Answer» D. Linker
9.

Which of the language is sometimes also referred as self-documenting' language?

A. High Level Language
B. Machine Language
C. Assembly Language
D. None of the above
Answer» A. High Level Language
10.

Which of the language is said to be one of the oldest high level languages?

A. BASIC
B. COBOL
C. PASCAL
D. FORTRAN
Answer» D. FORTRAN
11.

Which of the language was designed to solve the scientific & engineering problems?

A. FORTRAN
B. PASCAL
C. BASIC
D. COBOL
Answer» B. PASCAL
12.

Who developed the language FORTRAN?

A. Grace Hopper
B. John Kemeny
C. John Backus
D. None of the above
Answer» C. John Backus
13.

When was the language FORTRAN developed?

A. 1960
B. 1957
C. 1980
D. 1972
Answer» B. 1957
14.

Which of the language became the first standardized language?

A. COBOL
B. BASIC
C. PASCAL
D. FORTRAN
Answer» D. FORTRAN
15.

Who developed the language COBOL?

A. Nicklaus Wirth
B. John Backus
C. Grace Hopper
D. John Kemeny
Answer» C. Grace Hopper
16.

Which version of FORTRAN was oriented towards structured programming approach?

A. FORTRAN 77
B. FORTRAN II
C. FORTRAN N
D. FORTRAN 90
Answer» A. FORTRAN 77
17.

What is the latest version of FORTRAN?

A. FROTRAN 77
B. FORTRAN 90
C. FORTRAN II
D. FORTRAN N
Answer» B. FORTRAN 90
18.

When was the language BASIC developed? (C) COBOL (D) BASIC

A. 1958
B. 1964
C. 1970
D. 1985
Answer» A. 1958
19.

Which language is said to be the first high-level language to be implemented on personal computers when they were introduced?

A. JAVA
B. C++
C. C
D. BASIC
Answer» D. BASIC
20.

The language PASCAL is named after which French mathematician ?

A. Grace Hopper
B. Blaise Pascal
C. John Backus
D. None of the above
Answer» B. Blaise Pascal
21.

Which Language was developed on the concepts of structured programming?

A. JAVA
B. BASIC
C. C
D. PASCAL
Answer» C. C
22.

When did ANSI standardized COBOL?

A. 1959
B. 1968
C. 1952
D. 1978
Answer» B. 1968
23.

Which of the language is said to be the high level language?

A. C++
B. Java
C. C
D. All the above
Answer» D. All the above
24.

Which of the following translates the source program statements into object codes?

A. Debugger
B. Interpreter (
C. Assembler
D. Compiler
Answer» D. Compiler
25.

Which of the following Operating System does not implement multitasking truly

A. Windows 98
B. Windows NT
C. windows XP
D. MS DOS
Answer» D. MS DOS
26.

when a computer is first turned on or restarted a special type of absolute loader executed

A. Compile and go loader
B. Boot loader
C. Bootstrap loader
D. Relating loader
Answer» C. Bootstrap loader
27.

The operating' System manages .

A. Memory
B. Processes
C. Disks and I/O devices
D. All of the above
Answer» D. All of the above
28.

The operating system creates __ from the physical computer

A. Virtual space
B. Virtual computers
C. Virtual device
D. None
Answer» B. Virtual computers
29.

Out of following, what is Opcode in assembly language?

A. mov
B. add
C. cmp
D. None
Answer» A. mov
30.

Who converts Assembly language into machine language?

A. Linker
B. Assembler
C. Interpreter
D. Compiler
Answer» B. Assembler
31.

. . ... Is an example of Compiled and Interpreted language.

A. C
B. BASIC
C. C++
D. Java
Answer» D. Java
32.

Kernel is also known as - (C) COBOL (D) BASIC

A. Operating System
B. Heart of OS
C. High Level Language
D. Low Level Language
Answer» B. Heart of OS
33.

Choose correct form of the format of assembly instruction.

A. [comment] [label] <opcode> <operand>
B. [label]<operand><opcode> [;comment]
C. <opcode>(opera
D. [label] [;comment] (D) [label]<opcode><operand> [;comment]
Answer» D. [label] [;comment] (D) [label]<opcode><operand> [;comment]
34.

Which language is having more readable, easy to debug and fast development features?

A. Machine Level Language
B. Assembly Language
C. High Level Language
D. All of the above 39.
Answer» C. High Level Language
35.

Which language is easy to understand by machine?

A. Low Level Language
B. Assembly Language
C. High Level Language
D. None of the above
Answer» A. Low Level Language
36.

FORTRON stands for -

A. For Translation
B. Formula Translator
C. Formula Translation
D. None of the above
Answer» C. Formula Translation
37.

Which data type is the major feature of 'c' language?

A. Pointer
B. Union
C. Structure
D. All of the above
Answer» A. Pointer
38.

Which language was used to write the UNIX operating system?

A. PASCAL
B. C
C. JAVA
D. BASIC
Answer» B. C
39.

Which of the language was primarily used for internet based applications?

A. C
B. JAVA
C. LISP
D. COBOL
Answer» B. JAVA
40.

When was JAVA's first commercial release made?

A. 1952
B. 1966
C. 1983
D. 1995
Answer» D. 1995
41.

Who developed LISP?

A. Brian Kernighan
B. John Backus
C. James Gosling
D. John McCarthy
Answer» D. John McCarthy
42.

Which of the language is most widely used language for AI applications?

A. PASCAL
B. LISP
C. COBOL
D. C
Answer» B. LISP
43.

In Hungarian notation.......... Prefix is used for Boolean.

A. bol
B. b
C. bl
D. None above
Answer» B. b
44.

In Hungarian notation.......... Prefix is used for pointer.

A. ptr
B. Pr
C. P
D. None above
Answer» C. P
45.

Which of the term refers to the information describing various products and services to the users in both computer and software development. ?

A. Documentation
B. Debugging
C. Testing
D. None of above
Answer» A. Documentation
46.

............... refers to the process of collecting, organizing and maintaining a complete record of programs and other documents used during the different phases of software development.

A. Debugging
B. Documentation
C. Both A and B
D. Testing
Answer» B. Documentation
47.

are the forms of documentation that are put within program to help in understanding the logic of the program.

A. System manual
B. User manual
C. Comments
D. Logic Errors
Answer» C. Comments
48.

does not contain any programming instruction and are just language instructions.

A. User Manual
B. Comments
C. System Manual
D. None
Answer» B. Comments
49.

arguments the code with the basic description and also help in generating external documentation.

A. Comment
B. Hungarian Notation
C. User Manual
D. None
Answer» A. Comment
50.

is a form of external documentation and is available in the form of separate documents or unit development folders

A. Hungarian Notation
B. User Manual
C. Syntax errors
D. System Manual
Answer» D. System Manual
51.

.... is a form of external documentation and is required to ensure smooth execution of software ..

A. Logical Error
B. User Manual
C. System Manual
D. Comments
Answer» B. User Manual
52.

.... are used within program to help in understanding the logic of the program and hence are a form of external documentation.

A. Debugging
B. White Box Testing
C. Comments
D. Syntax Errors
Answer» C. Comments
53.

In..... the name of the variable indicates its type of intended use.

A. Debugging
B. Hungarian Notation
C. System Manual
D. Logic Errors
Answer» B. Hungarian Notation
54.

..... is said to be a popular naming convention in complete programming

A. User Manual
B. Hungarian Notation
C. Black Box Testing
D. Testing
Answer» B. Hungarian Notation
55.

Following is the DOS command to print the file' add.c ' without installing a printer driver on your PC.

A. type add.c> prn
B. edit add.c > prn
C. print a
D. c
Answer» A. type add.c> prn
56.

Command for creating directory in MS DOS is (D) print add.c > prn

A. md
B. gd
C. cd
D. fd
Answer» A. md
57.

The software tool that. is used for linking modules together is called _______.

A. Editor
B. Linker
C. Compiler
D. Debugger
Answer» B. Linker
58.

A component of a computer that locates a given program or application from the offline storage, loads it into the main memory and facilitates its execution is called_______.

A. Interpreter
B. Compiler
C. Linker
D. Loader
Answer» D. Loader
59.

______ loads a given program from a disk

A. Linker
B. Compiler
C. Interpreter
D. Loaders
Answer» D. Loaders
60.

Step by step description of program is known as-

A. Pseudo code
B. Flowchart
C. Algorithm
D. Test case
Answer» C. Algorithm
61.

To show Start and End of program (D) Explain user interface of application

A. Kite box is used.
B. Circle is used.
C. Round corner rectangle is used
D. Pentagon is used.
Answer» C. Round corner rectangle is used
62.

Which statement is used to jump the control of program?

A. Switch
B. Loop
C. Conditional statement
D. Goto
Answer» D. Goto
63.

Processing Symbol is used to indicate in the program.

A. Process (i.e. Arithmetic process)
B. Input and Output
C. Decisions
D. Start and End
Answer» A. Process (i.e. Arithmetic process)
64.

PDL - Program Decision Language is an another name of _

A. Test Case
B. Algorithms
C. Pseudo code
D. Programs
Answer» C. Pseudo code
65.

According to Sequence Logic a Pseudo code _

A. Instructions are written in the order they are to be performed
B. Instructions will be executed several time based on some condition.
C. Instructions will be executed only ones based on some condition.
D. None of the above.
Answer» A. Instructions are written in the order they are to be performed
66.

According to Selection Logic (Decision Logic) of Pseudo code

A. Instructions are written in the order they are to be performed
B. Instructions will be executed several time based on so condition.
C. Instructions will be executed only ones based on condition.
D. None of the above.
Answer» C. Instructions will be executed only ones based on condition.
67.

Selection Logic is used to ___ (B) Write programming instruction in normal language

A. Instructions are written in the order they are to be performed.
B. Instructions executed several time based on some condition.
C. Select the proper path out of two or more alternative paths
D. None of above
Answer» C. Select the proper path out of two or more alternative paths
68.

What might be considered the seventh step of programming process?

A. Testing
B. Maintaining
C. Replacing
D. Converting
Answer» B. Maintaining
69.

What symbol is used to represent output is flow chart?

A. Square
B. Circle
C. Parallelogram
D. Triangle
Answer» C. Parallelogram
70.

What is the standard terminal symbol for a flow chart?

A. Circle
B. Lozenge
C. Diamond
D. Square
Answer» A. Circle
71.

What is assignment operator?

A. =
B. *
C. ^
D. %
Answer» A. =
72.

What is an example of string constant?

A. 1
B. 12432
C. “oops”
D. O
Answer» C. “oops”
73.

In a case structure the term------means “if none of the other cases were true ”

A. Else
B. Then
C. Default
D. Loop
Answer» C. Default
74.

A case structure can be replaced one or more

A. If-then-else
B. Do-while
C. Do-until
D. While
Answer» A. If-then-else
75.

Which name is best suited to a module that calculates overtime pay?

A. CalcoO
B. CoO
C. Calculate overtimeO
D. CalculateovertimeO
Answer» D. CalculateovertimeO
76.

The------- can be a useful tool when a program must be modified months or years after the original writing.

A. Flowchart
B. Hierarchy chart
C. Pseudo code
D. Variable declaration
Answer» C. Pseudo code
77.

Declaring a variable involves selecting a name and a __

A. Size
B. Length
C. Style
D. Type
Answer» D. Type
78.

A group of variables is often called a __ .

A. Linked group
B. Data structure
C. Data object
D. Module
Answer» B. Data structure
79.

When a variable is __ it is both declared and initialized.

A. Set
B. Instantiated
C. Defined
D. Documented
Answer» C. Defined
80.

The time factor when determining the efficiency of algorithm is measured by

A. counting microseconds
B. Counting the number of key operations
C. Counting the number of statements
D. Counting the kilobytes of algorithm
Answer» B. Counting the number of key operations
81.

The space factor when determining the efficiency of algorithm is measured by

A. Counting The Maximum Memory Needed By The Algorithm
B. Counting The Minimum Memory Needed By The Algorithm
C. Counting The Average Memory Needed By The (A)lgorithm
D. Counting the maximum disk space needed by the algorithm
Answer» A. Counting The Maximum Memory Needed By The Algorithm
82.

Which of the following case does not exist in complexity theory

A. Best case
B. Worst case
C. Average case
D. Null case
Answer» D. Null case
83.

The Worst case occur in linear search algorithm when

A. Item is somewhere in the middle of the array
B. Item is not in the array at all
C. Item is the last element in the array
D. Item is the last element in the array or is not there at all
Answer» D. Item is the last element in the array or is not there at all
84.

The Average case occur in linear search algorithm

A. When Item is somewhere in the middle of the array
B. When Item is not in the array at all
C. When Item is the last element in the array
D. When Item is the last element in the array or is not there at all
Answer» A. When Item is somewhere in the middle of the array
85.

Finiteness property of an Algorithm is

A. The number of steps in the algorithm should be finite.
B. The algorithm should terminate after a finite no. of times.
C. For all possible combinations of input data, the algorithm terminates after a finite no. of steps.
D. None of above
Answer» C. For all possible combinations of input data, the algorithm terminates after a finite no. of steps.
86.

Instructions in algorithms should be_____

A. Precise
B. Unambiguous
C. Precise & Unambiguous
D. None of above
Answer» C. Precise & Unambiguous
87.

As compared to a flowchart, it is easier to modify the_________of a program logic when program modifications are necessary.

A. Macro flowchart
B. Micro flowchart
C. Terminal
D. Pseudo code.
Answer» D. Pseudo code.
88.

Algorithm halts in __________

A. Finite time
B. Infinite time
C. Logarithmic time
D. Exponential time
Answer» A. Finite time
89.

The __ flow chart symbol(s) represents one way flow of control.

A. Processing
B. Decision
C. Terminal
D. All above
Answer» A. Processing
90.

What is an infinite loop?

A. It is an endless loop
B. It means multiple loops
C. It is a nested loop
D. It is an unclosed loop
Answer» A. It is an endless loop
91.

The normal flow of flowchart is from

A. Left to Right
B. Right to Left
C. A & D
D. Top to Bottom
Answer» D. Top to Bottom
92.

Which tool shows textual design solution?

A. Flowchart
B. Structure chart
C. Pseudocode
D. Algorithm
Answer» C. Pseudocode
93.

Method which uses a list of well-defined instructions to complete a task, starting from a given initial state to end state, is called

A. Program
B. Algorithm
C. High level Language
D. Flowchart
Answer» B. Algorithm
94.

Diamond shape in flow chart denotes

A. Start
B. Decision
C. End
D. Input - Output task
Answer» B. Decision
95.

Which of the following shape is used for representing a Conditional Statement in a Flow chart?

A. Parallelogram
B. Rhombus
C. Trapezoid
D. Rectangle
Answer» B. Rhombus
96.

Any program can be written using structures.

A. Sequence logic, Merge logic, Insertion logic
B. Sequence logic, Selection logic, Iteration logic
C. Sequence logic, Branch logic, Iteration logic
D. None of the above
Answer» B. Sequence logic, Selection logic, Iteration logic
Tags
Question and answers in Fundamentals of Computer Programming 1, Fundamentals of Computer Programming 1 multiple choice questions and answers, Fundamentals of Computer Programming 1 Important MCQs, Solved MCQs for Fundamentals of Computer Programming 1, Fundamentals of Computer Programming 1 MCQs with answers PDF download