Here’s a revised set of 40 questions, with 15 of them formatted as True or False:
### Indicate True or False Questions
1. A computer program is a sequence of 9. In programming, an operator performs instructions written in a programming actions on values, such as addition or language to perform a specific task. comparison. 2. An IDE is only used for writing code, 10. The keyword “INPUT” in pseudocode not for compiling or debugging. indicates a place where data is 3. A text editor is a tool used to create and displayed to the user. edit code. 11. Boolean data types can store only two 4. A compiler directly executes code values: True or False. without converting it to another format. 12. Pseudocode requires strict syntax 5. Variables are used to store data values similar to programming languages. in a program. 13. A FOR loop is commonly used when 6. Flowcharts are textual representations the number of iterations is known in of program code. advance. 7. An algorithm is a step-by-step solution 14. A flowchart's diamond shape is used to to a problem. represent a decision point. 8. In pseudocode, the term "IF - THEN - 15. In a flowchart, an oval is typically used ELSE" represents a loop structure. to show a start or end point. ### Multiple Choice Questions 16. Which of these is NOT a component of - D) Flowcharts a programming environment? 19. Which of the following is a data type - A) Text editor that holds text values? - B) Compiler - A) Integer - C) Interpreter - B) Boolean - D) Database - C) String 17. Which component converts code into - D) Character binary format? 20. What is the purpose of keywords in - A) Interpreter programming? - B) Text editor - A) To store user inputs - C) Compiler - B) To perform arithmetic operations - D) Flowchart - C) To define specific functions in code 18. Which of the following is NOT a basic - D) To save code outputs programming concept? 21. In pseudocode, which keyword - A) Keywords indicates a user input? - B) Data types - A) OUTPUT - C) Functions - B) INPUT - C) PRINT 27. What type of loop has a condition at the end of its execution in pseudocode? - D) ENTER - A) FOR loop 22. Which symbol in a flowchart represents a process? - B) WHILE loop - A) Rectangle - C) REPEAT-UNTIL loop - B) Diamond - D) IF-THEN-ELSE loop - C) Oval 28. In a flowchart, which symbol is used for start and end points? - D) Arrow - A) Rectangle 23. Which term describes a unit of code that performs a specific task? - B) Diamond - A) Variable - C) Oval - B) Function - D) Arrow - C) Compiler 29. What is an operator in programming? - D) Data type - A) A symbol that performs a function on values 24. Which type of loop is best suited for a known number of iterations? - B) A type of variable - A) WHILE loop - C) A text editor - B) IF-THEN-ELSE loop - D) An error in code - C) REPEAT-UNTIL loop 30. What is the primary purpose of a programming environment? - D) FOR loop - A) To enable the organization of files 25. Which of the following is an example of iteration? - B) To support code writing, compiling, and testing - A) Selecting a different programming language - C) To manage hardware components - B) Creating variables - D) To visualize code execution - C) Repeating steps in a loop 31. Which of these is NOT typically found in pseudocode? - D) Choosing data types - A) Exact syntax of a specific language 26. Which statement in pseudocode allows conditional execution of code? - B) Simple instructions - A) FOR - C) Loops - B) IF-THEN - D) Decision-making statements - C) OUTPUT 32. Which term describes arranging steps in the correct order in an algorithm? - D) VARIABLE - A) Iteration - B) Selection - C) A diagram for algorithms - C) Sequencing - D) A code debugging tool - D) Execution 37. What does a rectangle represent in a flowchart? 33. Which component directly executes code without prior compilation? - A) Start or end point - A) Compiler - B) Decision - B) Interpreter - C) Process or instruction - C) Database - D) Connector - D) IDE 38. In programming, what is a “loop”? 34. Which of the following represents a - A) A repeated step or series of steps decision-making process in - B) A programming language pseudocode? - C) A single line of code - A) WHILE - D) A syntax error - B) IF-THEN-ELSE 39. Which keyword in pseudocode is used for - C) FOR a counting loop? - D) INPUT - A) WHILE 35. Which tool converts programming code - B) FOR into an executable file? - C) UNTIL - A) Text editor - D) INPUT - B) Flowchart 39. Which type of statement is typically - C) Compiler indented in pseudocode? - D) Variable - A) Functions 36. 36. What is a pseudocode? - B) Loops and selections - A) A strict programming language - C) Data types - B) A high-level description of code - D) Comments logic This completes the set with 15 True/False and 25 Multiple Choice questions.