Computer Fundamentals Multiple choice Questions and Answers on Pseudo Code for Freshers

1. Keep the statement language ______________ while writing a pseudo code.

a) Dependent
b) Independent
c) Case sensitive
d) Capitalized
Answer: b

Explanation: The statement’s language should be independent. Other rules are to write only one statement per line and end multiline structures.
2. Capitalize initial keyword – This is a rule while writing a pseudo code.

a) True
b) False
Answer: a

Explanation: The statement is true. It is an important rule to capitalize the initial keyword while writing a pseudo code.
3. Which of the following is not a keyword?

a) Read
b) Write
c) start
d) endif
Answer: c

Explanation: Start is not a Keyword. Other words like read, write, if, else, etc are keywords and convey a special meaning.
4. ______________ is used to show hierarchy in a pseudo code.

a) Indentation
b) Curly Braces
c) Round Brackets
d) Semicolon
Answer: a

Explanation: Each design structure uses a particular indentation pattern.
Indentation should be considered in the following cases:
Sequence
Selection
Loop.
5. The statement that tells the computer to get a value from an input device and store it in a memory location.

a) read
b) write
c) READ
d) WRITE
Answer: c

Explanation: The READ statement is used to take the input. READ being a keyword should be in capital letters.
6. _____________ are identified by their addresses, we give them names (field names / variable names) using words.

a) Memory variables
b) Memory Locations
c) Memory Addresses
d) Data variables
Answer: b

Explanation: Memory locations are identified by their addresses, we give them names (field names/variable names) using words descriptive to us such as ctr as opposed to a location addresses such as 19087.
7. ____________ begins with lower case letters.

a) Keywords
b) Variables
c) Tokens
d) Functions
Answer: b

Explanation: Variables begin with a lowercase. They contain no spaces. They also involve the consistent use of names.
8. Another notation for exponentiation.

a) *
b) **
c) ***
d) *^
Answer: b

Explanation: Double asterisk sign is also used for exponentiation. The general notation is ^ sign.
9. A symbol used for grouping.

a) ()
b) {}
c) [].
d) ” ”
Answer: a

Explanation: Parenthesis is used for grouping while working with fields. There are other symbols like *, +, -, **, etc.
10. A statement used to close the IF block.

a) ELSE
b) ELSEIF
c) END
d) ENDIF
Answer: d

Explanation: The answer is ENDIF. It is used to close the IF block. ENDIF statement should be in line with the IF statement.

Related

C Programming Questions and Answers on Break and Continue for Freshers

1. Which keyword can be used for coming out of recursion? a) breakb) returnc) exitd) Both break and return Answer: b 2. What is the output of this C code? #include int main() ...

HTML Multiple Choice Questions & Answers on HTML5 Form Changes for Freshers

1. Which of the following is not a type of attribute for input tag? a) dayb) weekc) monthd) time Answer: a Explanation: day is not defined in the pre-defined attribute list of input tag 2. The n...

CSS Multiple Choice Questions & Answers on CSS Outline for Freshers

1. Which of the following property is used to draw a line around elements outside the borders? a) lineb) paddingc) outlined) border Answer: c Explanation: Outlines do not take up space, they are ...

Post a Comment

emo-but-icon
:noprob:
:smile:
:shy:
:trope:
:sneered:
:happy:
:escort:
:rapt:
:love:
:heart:
:angry:
:hate:
:sad:
:sigh:
:disappointed:
:cry:
:fear:
:surprise:
:unbelieve:
:shit:
:like:
:dislike:
:clap:
:cuff:
:fist:
:ok:
:file:
:link:
:place:
:contact:

item