1.
Which box is used for writing the processing instructions and doing calculations in a Flowchart?
Correct Answer
B. Processing box
Explanation
In a flowchart, the processing box is used for writing the processing instructions and doing calculations. This box represents a specific task or operation that needs to be performed in the flowchart. It can include mathematical calculations, data manipulation, decision-making, or any other processing step required in the flowchart. The processing box is where the actual processing of data or information takes place, making it an essential component in the flowchart.
2.
What do we call the pictorial representation of steps for solving a particular problem?
Correct Answer
A. Flowchart
Explanation
A flowchart is a visual representation of the steps or processes involved in solving a specific problem. It uses various symbols and shapes to depict the flow of information, decisions, and actions. Flowcharts are commonly used in computer programming, engineering, and problem-solving to provide a clear and organized representation of the problem-solving steps. They help in understanding and communicating complex processes and enable easy identification of errors or inefficiencies in the solution.
3.
Which operator is used to combine two or more relational expressions & return a single value as True or False in a decision?
Correct Answer
A. Logical
Explanation
The correct answer is "Logical". The logical operator is used to combine two or more relational expressions and return a single value as true or false in a decision. It allows for the evaluation of multiple conditions and the determination of whether they are all true or at least one of them is true. This is commonly used in decision-making statements such as if-else or while loops to control the flow of the program based on certain conditions.
4.
Which symbol should be used first to represent the String Variable?
Correct Answer
C. $ symbol
Explanation
The $ symbol should be used first to represent the String Variable. In many programming languages, including PHP and JavaScript, the $ symbol is commonly used as a prefix to indicate a variable. Therefore, when declaring or referencing a String Variable, it is standard practice to use the $ symbol at the beginning.
5.
Which operator is used to check the non-equality between two operands?
Correct Answer
A.
Explanation
The non-equality between two operands is checked using the "!=" operator. This operator returns true if the operands are not equal, and false if they are equal.
6.
What is the extension of a file saved in QB64?
Correct Answer
B. .BAS
Explanation
The correct answer is ".BAS". QB64 is a programming language and development environment that is compatible with the BASIC programming language. In QB64, files are saved with the extension ".BAS" which stands for BASIC. This extension indicates that the file contains source code written in the BASIC programming language.
7.
What does a Numeric Variable contain?
Correct Answer
A. Numeric value
Explanation
A numeric variable contains a value that is numerical in nature, such as a number or a mathematical calculation. It is used to store and manipulate numeric data in a program or system.
8.
Which of these is a valid String variable?
Correct Answer
B. A2$
Explanation
A valid String variable can only start with a letter, not a number or special character. In this case, "A2$" starts with a letter (A) and is followed by a combination of letters, numbers, or special characters ($), making it a valid String variable.
9.
Which box is used for starting or ending the flowchart?
Correct Answer
B. Start/Stop box
Explanation
The Start/Stop box is used for starting or ending the flowchart. It indicates the beginning and end of the process or program. This box is typically represented by a rounded rectangle with the word "Start" or "Stop" written inside. It helps to clearly define the starting and ending points of the flowchart and provides a clear structure to the overall flow of the process or program.
10.
How many types of Operators are there in QBASIC?
Correct Answer
B. 3
Explanation
There are three types of operators in QBASIC.
11.
__________________________ function key compiles the program into .exe file and runs it.
Correct Answer
f5
Explanation
Pressing the F5 function key compiles the program into a .exe file and runs it.
12.
What is the shape of a decision box?
Correct Answer
C. Diamond
Explanation
The shape of a decision box is a diamond. Decision boxes are commonly used in flowcharts or decision trees to represent a point where a decision needs to be made. The diamond shape is used to visually distinguish the decision box from other types of boxes in the flowchart.
13.
What is the shape of a Processing box?
Correct Answer
A. Rectangular
Explanation
The shape of a Processing box is rectangular.
14.
The Input / Output box has a shape similar to a
Correct Answer
C. PARALLELOGRAM
Explanation
The correct answer is PARALLELOGRAM because a parallelogram is a four-sided figure with opposite sides that are parallel and equal in length. The description of the shape in the question matches the characteristics of a parallelogram, making it the most suitable option.
15.
AND, OR, NOT are the …………. operators.
Correct Answer
Logical
Explanation
The given answer is "Logical" because AND, OR, and NOT are commonly known as logical operators in computer programming and logic. These operators are used to manipulate boolean values and make logical comparisons between them. The AND operator returns true if both operands are true, the OR operator returns true if at least one of the operands is true, and the NOT operator returns the opposite boolean value of the operand. Therefore, it is correct to categorize these operators as logical operators.