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

Multiple Choice Questions and Answers on Benefits and Drawbacks of Cloud Computing

1. Which of the following was one of the top 5 cloud applications in 2010 ? a) Cloud backupb) Web applicationsc) Business applicationsd) All of the mentioned Answer: d Explanation: Cloud computin...

Multiple Choice Questions and Answers Introduction to Cloud Computing for Freshers

1. _________ computing refers to applications and services that run on a distributed network using virtualized resources. a) Distributedb) Cloudc) Softd) Parallel Answer: b Explanation: Cloud Com...

C# Questions & Answers on String Formatting for Freshers

1. What will be the output of the given code snippet? static void Main(string[] args) { string s1 = "olleH"; string s2 = "olleh"; if (s1 == s2) Console.WriteLine("...

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