1) What is logic formulation in programming? a) Writing a complete program b) Creating a flowchart c) Defining the steps to solve a problem d) Drawing a user interface 2) What is the primary purpose of a flowchart? a) To compile a program b) To visualize logical steps c) To store data d) To design databases 3) Which of the following is a common symbol for a decision in a flowchart? a) Rectangle b) Circle c) Diamond d) Parallelogram 4) What flowchart symbol is used for input/output operations? a) Oval b) Diamond c) Rectangle d) Parallelogram 5) Which symbol represents the start or end of a flowchart? a) Diamond b) Rectangle c) Oval d) Arrow 6) What does a rectangle in a flowchart usually indicate? a) Input b) Output c) Process d) Decision 7) In a flowchart, which direction is the flow of control usually drawn? a) Right to left b) Bottom to top c) Left to right d) Top to bottom 8) Which of the following is not a benefit of using flowcharts? a) Easier debugging b) Better documentation c) Clear logic visualization d) Faster execution 9) Which of these best describes a loop in a flowchart? a) A condition with only one output b) Repeating a set of steps based on a condition c) Connecting two input symbols d) Drawing all arrows in one direction 10) What is the first step in logic formulation? a) Define the problem b) Test the solution c) Create variables d) Start writing code 11) Which tool helps in translating logic into a programming language? a) Compiler b) Flowchart c) Interpreter d) Debugger 12) Which is a decision-making construct? a) If-Else b) Input c) Start d) Print 13) What is a dry run in logic formulation? a) Running a program without saving b) Executing code on paper c) Debugging in real time d) Ignoring all errors 14) What is pseudocode? a) Programming in another language b) Human-readable logic steps c) Fake output d) Encryption algorithm 15) A flowchart loop that never ends is known as: a) Syntax loop b) Broken logic c) Infinite loop d) Dead loop 16) What does a connector (circle) symbol indicate in a flowchart? a) Connect broken flow lines b) Stop process c) Input/output d) Reboot system 17) Which tool checks logic errors in programming? a) Debugger b) Logic analyzer c) Flowchart d) Syntax checker 18) Why is logic formulation important before coding? a) To avoid using flowcharts b) To delay the coding process c) To understand and plan solutions d) To reduce input operations 19) Which statement is true about flowcharts? a) Flowcharts are written in code b) Flowcharts eliminate the need for testing c) Flowcharts are visual representations of logic d) Flowcharts slow down development 20) Which is NOT a flowchart rule? a) Arrows must show direction b) Every flowchart has one start and one end c) Flowcharts can have random symbols d) Use standardized shapes

Logic Formulation and Flowchart

Leaderboard

Visual style

Options

Switch template

Continue editing: ?