0% found this document useful (0 votes)
44 views

Concepts of Programming

The document discusses key concepts in programming including: - RAM is primary storage. - Flowcharts and programming are two modeling tools. - The word "DISPLAY" is used in pseudocode to display a value. - Connectors in flowcharts indicate joins in the flow. - Pseudocode uses symbolic language to represent algorithms as a set of steps. - A flowchart is a graphical representation of an algorithm.

Uploaded by

rekharawat56515
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views

Concepts of Programming

The document discusses key concepts in programming including: - RAM is primary storage. - Flowcharts and programming are two modeling tools. - The word "DISPLAY" is used in pseudocode to display a value. - Connectors in flowcharts indicate joins in the flow. - Pseudocode uses symbolic language to represent algorithms as a set of steps. - A flowchart is a graphical representation of an algorithm.

Uploaded by

rekharawat56515
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Concepts Of Programming

1. _______ is also known as primary storage.


a) ROM
b) RAM
c) Hard disk
d) Floppy
2. Which of the following options are the two modeling tools?
a) Flowcharts
b) Programming
c) Storyboard
d) Assembly language
3. To display some value, the word is used in pseudocode.
a) DISPLAY
b) SHOW
c) TYPE
d) REVEAL
4. What is the function of connectors in a flowchart?
a) To begin the flowchart
b) To display the sum
c) To indicate the location of joins
d) To terminate the flowchart
5. The word pseudo means
a) False
b) True
c) Program
d) Buffer
6. Algorithm is a set of steps listed in _______ language.
a) Simple
b) Complex
c) Symbolic
d) Unknown
7. A _______ is a graphical representation of an algorithm.
a) Flowchart
b) Coding
c) Programming
d) Testing
8. The statement is generally used for single condition based problems.
a) IF
b) END
c) ELSE
d) BOOLEAN
9. If the operator does not match with any of the case statements, then the statements in the
section get executed.
a) JUMP
b) BREAK
c) NEXT
d) OTHERWISE
10. The _______ construct is a basic selection construct.
a) IF
b) OR
c) C. AND
d) DO CASE
11. 2. Identify the correct form of the IF...ELSE statement.
(A) IF (C) IF condition
Statement set1 Statement set1
ELSE ELSE
Statement set2 Statement set2
END IF
(B) IF condition (D) IF condition
Statement set1 Statement set1
Statement set2 ELSE
END IF Statement set2
END IF

12. Which of the following are a part of multiple selection statements?


a) AND, OR
b) NOR, TRACK
c) C. DO, WHILE
d) CAN, JOIN
13. The ________ statement can be mapped to the OTHERWISE statement in the pseudocode.
a) Default
b) IF
c) APPLIED
d) AND
14. The ________ construct is used when a variable is to be successively compared against different
values.
a) IF
b) DO CASE
c) IF ELSE
d) AND OR
15. Counter variables are a must in ______ loop.
a) FOR
b) NEXT
c) TESTING
d) CODING
16. . At the end of the loop, the test condition in the ________ statement is evaluated.
a) VARIABLE
b) PROGRAM
c) NESTED
d) WHILE
17. Which of the following is the function of a loop?
a) Specify the standards
b) Manipulate functions
c) Execute branching conditions
d) Perform repetitive tasks
18. The _______ loop repeats a statement or a set of statements while a certain specified condition
is True.
a) True
b) False
19. Which of the following is performed in FOR loop after initialization in C language?
a) For
b) Condition
c) Statement set
d) Increment
20. The C language allows up to _______ loops to be nested within one another.
a) 10
b) 15
c) 20
d) 25
21. Which of the following is the general format of the REPEAT...UNTIL loop?
(A) REPEAT (C) statement set
UNTIL condition
REPEAT
statement set
UNTIL condition

(B) REPEAT (D) DO

statement set WHILE

UNTIL condition REPEAT

statement set

UNTIL condition

You might also like