You are on page 1of 8

1.

In which stage the following code


#include<stdio.h>
gets replaced by the contents of the file stdio.h

A. During editing

B. During linking

C. During execution

D. During preprocessing

2. Who is father of C Language?

A. Bjarne Stroustrup

B. James A. Gosling

C. Dennis Ritchie

D. Dr. E.F. Codd

3.C Language developed at _________?

A. AT & T's Bell Laboratories of USA in 1972

B. AT & T's Bell Laboratories of USA in 1970

C. Sun Microsystems in 1973

D. Cambridge University in 1972


4. C programs are converted into machine language with the help of

A. An Editor

B. A compiler

C. An operating system

D. None of these.

5.C was primarily developed as

A. System programming language

B. General purpose language

C. Data processing language

D. None of the above

6.Which one of the following is not a reserved keyword for C?

A. auto

B. case

C. main

D. default

E. register
7. A C variable cannot start with

A. A number

B. A special symbol other than underscore

C. Both of the above

D. An alphabet

8.Which one of the following is not a valid identifier?

A. _examveda

B. 1examveda

C. exam_veda

D. examveda1

9.Which is the only function all C programs must contain?

A. start()

B. system()

C. main()

D. printf()

E. getch()
10.Which of the following is not a correct variable type?

A. float

B. real

C. int

D. double

E. char

11.Which of following is not a valid name for a C variable?

A. Examveda

B. Exam_veda

C. Exam veda

D. Both A and B

E. None of these

12.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.

13.In flow chart, diamond shaped symbol is used to represent

A. decision box
B. statement box
C. error box
D. if-statement box

14.Symbol used in flowchart such as rectangle with horizontal lines on two sides is used for

A. defined statement
B. predefined process
C. error fix
D. variables defined

15.Program link with other parts of program or connectors in flowchart are represented by

A. rhombus
B. parallelogram
C. circle
D. trapezoid

16.Part of algorithm which is repeated for fixed number of times is classified as

A. iteration
B. selection
C. sequence
D. reverse action
17.The _______ provides pictorial representation of given problem.
A. Algorithm
B. Flowchart
C. Pseudocode
D. All of these

18._______ is a procedure or step by step process for solving a problem.


A. Algorithm
B. Flowchart
C. Pseudocode
D. All of these

19.The ______ symbol is used at the beginning of a flow chart.


A. Circle
B. Rectangle
C. Diamond
D. None of these

20.the _______ symbol is used to represent process in flowchart.


A. Circle
B. Rectangle
C. Diamond
D. None of these

21._____ is a symbol used connects two symbols of flowchart.


A. Circle
B. Rectangle
C. Diamond
D. Arrow
22.Which of the following is not a HIGH LEVEL computer programming language ?

(A) FORTRAN

(B) MODEM

(C) COBOL

(D) ALGOL.

23.Which of the following is program planning tool?

(A)sequential

(B)Decision

(C)Pseudocode

(D)both (B) and (C)

24.Flowchart and algorithms are used for

(A)Better programming

(b)Easy testing and debugging

(c)Efficient coding

(d)all

25.What is a flowchart?
A text-based way of designing an algorithm
Bspecific programming language
C diagram that represents a set of instructions
D bullet point list of instructions
26.When you write an algorithm the order of the instructions is very important.
a)True
b)False

27.In a flowchart how are symbols connected?


a) Symbols do not get connected together in a flowchart
b) With lines and an arrow to show the direction of flow
c) With dashed lines and numbers
d) With solid lines to link events

You might also like