Coding the Application Using Pseudocode and Flowchart - Visual Basic Questions and Answers

1.

_________ uses short phrases to describe the steps the procedure must take.

   A.) Pseudocode
   B.) Source code
   C.) Algorithm
   D.) Flowchart

Answer: Option 'A'

Pseudocode
Pseudocode uses short phrases to describe the steps the procedure must take to accomplish its goal. It is a way to give direction how to do a program. Algorithms are at times written using pseudocode for the proper understanding of the users.

DigitalOcean Referral Badge

2.

__________ uses standardized symbols to describe the steps of a procedure.

   A.) Pseudocode
   B.) Source code
   C.) Flowchart
   D.) Algorithm

Answer: Option 'C'

Flowchart

Unlike pseudocode, flowchart uses standardized symbols to describe the steps of a procedure to accomplish its goal. The logic illustrated in the flowchart is same as that of a pseudocode; but its approach of showing the logic is different.

DigitalOcean Referral Badge

3.

The __________ symbol is called the start /stop symbol in the flowchart.

   A.) Oval
   B.) Rectangle
   C.) Diamond
   D.) Parallelogram

Answer: Option 'A'

Oval

The oval symbol is called the start/stop symbols in the flowchart. The start and stop indicates the beginning and end respectively of the flowchart.

DigitalOcean Referral Badge

4.

The __________ symbol is used to take a decision in the flowchart.

   A.) Oval
   B.) Rectangle
   C.) Diamond
   D.) Parallelogram

Answer: Option 'C'

Diamond

The diamond symbol is used to take a decision i.e. within diamond symbol, a condition is displayed. If the condition is true, the flow of the program one of the processes, if false the flow goes to some other processes. The diamond symbol takes the decision whether the condition contained in it is true or false.

DigitalOcean Referral Badge

5.

The rectangles are called as __________ symbols in the flowchart.

   A.) Decision
   B.) Start/End
   C.) Process
   D.) Input/Output

Answer: Option 'C'

Process

The rectangles are called process symbols in the flowchart. We use the process symbols to represent tasks i.e. assignments and calculations.

DigitalOcean Referral Badge

6.

The __________ in a flowchart is called input/output symbol.

   A.) Oval
   B.) Rectangle
   C.) Parallelogram
   D.) Diamond

Answer: Option 'C'

Parallelogram

The parallelogram in a flowchart is called the input/output symbol. It is used to represent input tasks such as taking input from the user or output tasks such as displaying the output on console, or printing some data etc.

DigitalOcean Referral Badge

7.

The lines connecting the symbols in a flowchart are called as __________

   A.) Flowlines
   B.) Symbol lines
   C.) Connectors
   D.) Connecting lines

Answer: Option 'A'

Flowlines

The lines connecting the symbols in a flowchart are called flowlines. It is used to connect the flowchart from its start symbol to the end symbol, including all the process symbols, the input/output symbols and the decision symbols.

DigitalOcean Referral Badge

8.

A __________ is defined as a zero or more characters enclosed in quotation marks.

   A.) String
   B.) Number
   C.) Integer
   D.) Floating point integer

Answer: Option 'A'

String
A string is defined as zero or more characters enclosed in quotation marks. If a string has zero characters but is only enclosed with quotation marks, it is known as empty string. The length of the string is the number of characters enclosed in quotation mark.

DigitalOcean Referral Badge

9.

The __________ statement in pseudocode acts like loop.

   A.) Goto
   B.) Exit
   C.) End
   D.) If

Answer: Option 'A'

Goto

The goto statement in a pseudocode is used to repeat a set of statements until a condition is satisfied i.e. it acts like a loop. It is also used to skip a number of statements while a condition is not met.

DigitalOcean Referral Badge

10.

The __________ statement is used to assign a value to a property of an object.

   A.) Assignment
   B.) Conditional
   C.) Goto
   D.) Decision

Answer: Option 'A'

Assignment

The assignment statement is used to assign a value to a property of an object. The equal sign is used to assign a value to a particular object. The equal sign is known as the assignment operator.

DigitalOcean Referral Badge

Coding the Application Using Pseudocode and Flowchart - Visual Basic Questions and Answers Download Pdf

Recent Posts