PDF Elementary Program With C Language
PDF Elementary Program With C Language
QUESTION BANK
MODULE NAME: C
Category - Simple
a) Pseudo code
b) Algorithm
c) Conditional statements
d) Flowchart
a) signed
b) abs
c) unsigned
d) positive
a) %
b) /
c) \
d) *
a) Specifier
b) Identifier
c) Naming convention
d) Variables
Which of the following is a section of code in a program that is executed repeatedly, until
a specific condition is satisfied?
a) loop
b) variable
c) return type
d) data type
Category - Average
a) continue
b) break
c) while
d) do while
a) Structure
b) Array
c) Class
d) Pointer
a) auto
b) static
c) register
d) extern
a) constants
b) variables
c) expressions
d) switch
a) struct
b) typedef
c) new operator
Category – Difficult
a) 40/17*13/3 = 9
40/17*13/3.0 = 9.666667
40/17*13.0/3 = 9.666667
40/17.0*13/3 = 11.196078
b) 40/17*13/3 = 7
40/17*13/3.0 = 7.666667
40/17*13.0/3 = 7.666667
40/17.0*13/3 = 9.196078
c) 40/17*13/3 = 8
40/17*13/3.0 = 8.666667
40/17*13.0/3 = 8.666667
40/17.0*13/3 = 10.196078
d) 40/17*13/3 = 10
40/17*13/3.0 = 10.666667
40/17*13.0/3 = 10.666667
40/17.0*13/3 = 11.196078
a) 0
b) 1
c) 2
d) 3