Principles of Programming Languages solved MCQs

1 of 8

1. Which of the following is not the part of software development phases?

a. software designing

B. software validation

c. software dependent

d. software implementation

2. Which of the following is a functional programming language?

a. c

B. c++

c. ml

d. ada

3. Which of the following phase of software development is associated with creation of test data ?

a. system analysis

B. design

c. coding

d. system acceptance

4. _________ is a module based programming language

a. c

B. c++

c. ml

d. ada

5. Which of the following is an object oriented programming language?

a. c

B. c++

c. ml

d. ada

6. Which of the following is secondary memory device?

a. keyboard

B. disk

c. alu

d. all of the above

7. Which of the following is a true statement regarding the SDLC phases.

a. the sdlc is not iterative.

B. the life cycle is always a sequentially ordered sets of phases.

c. it is not possible to completed some activities in one phase in parallel with those of another phase.

d. the life cycle may be thought of as a circular process.

8. Which step of SDLC performs cost/benefit analysis?

a. feasibility study

B. analysis

c. design

d. none of these

9. The detailed study of existing system is referred to as

a. system planning

B. system analysis

c. feasibility study

d. design dfd

10. Prototyping aims at

a. end user understanding and approval

B. program logic

c. planning of dataflow organization

d. none of these

11. What is a prototype

a. mini-model of existing system

B. mini-model of proposed system

c. working model of existing system

d. none of these

12. The Logic programming technique is implemented in :

a. declarative programming

B. object oriented programming

c. functional programming

d. generic programming

13. ALU stands for:

a. array logic unit

B. application logic unit

c. arithmetic logic unit

d. none of these

14. The difference between memory and storage is that memory is _________ and storage is _________.

a. temporary,permanent

B. permanent,temporary

c. slow,fast

d. all of above

15. Which programming languages are classified as low level languages?

a. cobol,fortran,pascal

B. prolog 2,expert systems

c. assembly languages

d. knowledge based systems

16. Which of the following is machine independence program?

a. high level language

B. low level language

c. assembly language

d. machine language

17. For specifying the syntax of a language _____________ is used.

a. context free language

B. regular expression

c. finite automata

d. none of these

18. Semantic of aprogram means

a. format of a program

B. meaning of a program

c. simply content of a program

d. none of these

19. The graphical representation of syntax is represented by ___________.

a. finite diagram

B. er diagram

c. syntax diagram

d. none of these

20. Which one of the following is not the stage of software development?

a. requirement analysis and gathering

B. problem identification

c. software design

d. maintenance

21. The Linker __________________.

a. is similar to interpreter

B. uses source code as its input

c. it is required to create a load module

d. none of these

22. #include<stdio.h> #define count 10; void main() { printf("%d",count); }

a. 10

B. syntax error

d. none of these

23. FORTRAN stands for:

a. free translator

B. formula translator

c. formula translation

d. free translation

24. Which is the longest scope in the following code? #include<stdio.h> int x; int main() { int y; fun(); return 0; } void fun(){ int z; }

a. x

B. y

c. z

d. both a and b

25. The value of an automatic variable that is declared but not initialized will be

a. 0

B. -1

c. unpredictable

d. none of these

Tags

Question and answers in Principles of Programming Languages,

Principles of Programming Languages Multiple choice questions and answers,

Important MCQ of Principles of Programming Languages,

Solved MCQs for Principles of Programming Languages,

Principles of Programming Languages MCQ with answers PDF download

Jump to set ->

Each set has max 25 mcqs

Check your understanding of
Principles of Programming Languages

Principles of Programming Languages [set-1] solved mcqs PDF download

Share