click below
click below
Normal Size Small Size show me how
CCS3 - Mod2
Reviewer
| Question | Answer |
|---|---|
| We can execute pseudocode on a computer. | False |
| Most algorithms end with instruction to display, print, or store the output items. | True |
| To produce the boolean values (i.e., true and false) the logical operators and, or and not and the relational operators <, ≤, =, =, ≥ and > are provided. | True |
| The processing typically involves performing one or more calculations using the ________ items. | Input |
| Pseudocode is called false code because it has no syntax like any of the programming language | True |
| Which keyword is used to show your output to a screen or the relevant output device? | |
| Pseudocode is a more plain and human understandable form of algorithm where natural language is also combined with the high-level programming language constructs. | True |
| Usually, there is a particular code syntax to write a pseudocode. | False |
| In writing Pseudocode, which of the following is best used in two conditions? | B. IF – ELSE IF — ENDIF |
| Most algorithms end with instruction to display, print, or store the _______ items. | Output |
| Programmers often use flowchart as a program-planning tool to solve a problem | True |
| Every step in an algorithm has its own logical sequence so it is easy to debug. | True |
| The shape used in a flowchart that shows the start and stop points in a process. | D (Terminal-Rounded rectangle-Oval) |
| Flow lines indicate the approximate sequence in which instructions are executed. | False |
| Identify the correct flowcharting symbol that represents a connector to a logical flow on a different page. | Home plate-shaped pentagon |
| Identify the correct flowcharting symbol that represents the statement "x = 0" | Hexagon or Rectangle |
| Identify the correct flowcharting symbol that represents the statement "PRINT Stud, Ave" | Parallelogram |
| In drawing the flowchart in getting the sum of the two numbers. Using N1 and N2 as the two numbers, and SUM as the total of the two numbers. Answer the question that follows. Which statement should be written in the second parallelogram? | OUTPUT SUM |
| It is a flowchart symbol that involves receiving data and displaying processed data | Parallelogram |
| In drawing a proper flowchart, all necessary requirements should be listed out in what order? | Logical |
| Pseudocode is not easy to understand and interpret as compared to an algorithm. | False |
| When writing pseudocode, we assume that the order of execution of the statements is from bottom to top. | False |
| When you want to assign value to a variable, in pseudocode use the symbol ____. | := |
| Which keyword is not used to retrieve data from the user through typing or through an input device? | DISPLAY |
| In the given pseudocode below, which line is checking if numberCounter has already reached a value of 3? Line 2 WHILE numberCounter < =3 | Line 2 |
| IF — THEN – ENDIF expression is used to express a conditional statement. | True |
| A keyword is a word that is reserved by a program because the word has a special meaning. Keywords are used to the following except ______. | Hardware operations |
| What are the three algorithm constructs? | Sequence, selection, repetition |
| Identify the correct flowcharting symbol that represents a connector to a logical flow on the same page. | Circle |
| It is a step-by-step sequence of instructions that describe how the data is to be processed to produce the desired output. | Algorithm |
| What flowchart symbol is used for the given expression below? if ( x <= 2) | C (Decision-diamond) |
| All are ways in expressing an algorithm except one. | Expressions |
| Identify the correct flowcharting symbol that represents the statement "INPUT Name, Age" | Parallelogram |
| In drawing the flowchart in getting the sum of the two numbers. Using N1 and N2 as the two numbers, and SUM as the total of the two numbers. Answer the question that follows. Which statement should be written in the process box? | SUM = N1 + N2 |
| Flowcharts play an extremely important role in displaying information and assisting reasoning. | True |
| Avoid the intersection of flow lines if you want to make it more effective and better way of communication. | True |
| A flowchart shape that is used to show a jump from one point in the process flow to another on the same page. | C (Circle) |
| In writing Pseudocode, which of the following is best used in three or more conditions? | IF — ELSE IF — ELSE IF — ELSE – ENDIF |
| Pseudocode is a formal way of writing a program. | False |
| To iterate is to repeat a set of instructions in order to generate a sequence of outcomes. Which of the following keyword is used for iteration? | FOR - ENDFOR |
| In the given pseudocode below, which line is displaying an output onto the screen? Line 7 PRINT sum | Line 7 |
| The processing typically involves performing one or more calculations using the output items. | False |
| Problem Specification: Jay-ar wants to determine if the inputted number is a positive number. Which of the following serves as the processing item? | Number > 0 |
| Which of the following is not true about pseudocode? | Pseudocode is a formal way of writing a program. |
| Identify the correct flowcharting symbol that represents the statement "Is grade >= 70?" | Diamond |
| Identify the correct flowcharting symbol that represents the statement "START" | Oval |
| Program Flowchart is a diagram that uses a set of standard graphic symbols to represent the sequence of coded instructions fed into a computer | True |
| What flowchart symbol is used for the given expression below? average = ( x + y ) / 2 | D (rectangle) |
| It is a flowchart symbol that is used as a connector to show a jump from one point int the process flow to another within the same page. | Circle |
| There could be two or more flow lines that should enter a decision symbol. | False |
| The question asks what represents a flow line | C (Line-arrow) |
| In drawing the flowchart in getting the sum of the two numbers. Using N1 and N2 as the two numbers, and SUM as the total of the two numbers. Which statement should be written in the first parallelogram after the terminal START? | INPUT N1, N2 |
| It is a flowchart symbol that denotes a decision to be made | Diamond |
| Each instruction in the algorithm will describe an action that the computer needs to take. | True |
| Most algorithms begin with instruction to enter the input items into the computer. | True |
| Use appropriate naming conventions and be consistent in writing pseudocodes. | True |
| An algorithm helps to simplify and understand the problem while pseudocode is a method of developing an algorithm. | True |
| Pseudocode represents the algorithm of the program in natural language and mathematical notations. | True |
| Problem Specification: Jay-ar wants to compute for the area of a circle. Which of the following serves as the output item? | Area |
| A flowchart shape that indicates input and output from a process. | B (parallelogram) |
| Identify the correct flowcharting symbol that represents the statement "S = S + no" | Rectangle |
| In drawing a proper flowchart, all necessary requirements should be listed out in chronological order. | False |
| Identify the correct flowcharting symbol that represents the statement "ctr = ctr + 1" | Rectangle |
| A flowchart shape that is used to show a jump from one point in the process flow to another on the other page. | A (pentagon) |
| When writing pseudocode, we assume that the order of execution of the statements is from _______. | top to bottom |
| Each instruction should start with a noun. | False |
| Pseudocode is a formal writing | False |
| Problem Specification: Jay-ar wants to compute for the area of a circle. Which of the following serves as the input item? | Radius |
| Most algorithms begin with instruction to enter the _______ items into the computer. | Input |
| Terminal is the first and last symbols in the flowchart. | True |
| If the flowchart becomes complex, it is better to use intersection of flow lines. | False |
| Whenever flowchart becomes complex or it spreads over more than one page, it is useful to use connectors to avoid any confusions. | True |
| Each instruction in an algorithm should start with a __________. | Verb |
| In the given pseudocode below, which line is requiring for an input from the user? Line 1 ENTER TotalBill, TipPercentage Line 2 COMPUTE tip := TotalBill x TipPercentage Line 3 DISPLAY tip | Line 1 |
| In decision symbol, two or three flow lines should leave one for each possible answer. | True |
| Decision based operations such as yes/no question or true/false are indicated by parallelogram in flowchart. | False |
| Decision symbol represent the direction of flow of control and relationship among different symbols of flowchart. | False |
| During algorithm development, we need statements which evaluate expressions and execute instructions depending on whether the expression evaluated. The following are conditions used in Pseudocode except ______. | FOR - ENDFOR |
| The correct keyword to initialize values is ________. | SET |
| Every programmer has his or her own version of a pseudocode. | True |
| It is a flowchart symbol that shows a process or an action step. | Rectangle |