Class 5 Computer Science: Advanced Programming Concepts

This worksheet will challenge your understanding of fundamental programming concepts, including algorithms, loops, and conditional statements.

Class 5CBSEComputer SciencehardPractice
Preview · 10 questions
  1. Q1. Which of the following describes a set of step-by-step instructions to solve a problem?
    • Program
    • Algorithm
    • Code
    • Flowchart
  2. Q2. What kind of loop executes a block of code a specific number of times?
    • Conditional Loop
    • While Loop
    • For Loop
    • Infinite Loop
  3. Q3. If a condition is 'True' in an 'IF-THEN-ELSE' statement, which block of code is executed?
    • The 'ELSE' block
    • Both 'IF' and 'ELSE' blocks
    • The 'IF' (THEN) block
    • Neither block
  4. Q4. Which of these is NOT a common programming error?
    • Syntax Error
    • Logical Error
    • Runtime Error
    • Spelling Error
  5. Q5. A stored value that can change during the execution of a program is called a ___________.

+ 5 more in the printable PDF.