Theory

Theory

10th - 12th Grade

12 Qs

quiz-placeholder

Similar activities

Program Implementation

Program Implementation

10th - 12th Grade

15 Qs

Java Basics

Java Basics

12th Grade

17 Qs

Syntax and Logic Errors

Syntax and Logic Errors

9th - 11th Grade

12 Qs

BET GCSE CS:  The IDE

BET GCSE CS: The IDE

8th - 10th Grade

16 Qs

Loops and trace tables

Loops and trace tables

11th Grade

13 Qs

Quarter 1 PLTW CSE Exam Review

Quarter 1 PLTW CSE Exam Review

10th Grade

14 Qs

Python Programming

Python Programming

11th Grade

17 Qs

Problem Solving

Problem Solving

12th Grade - University

10 Qs

Theory

Theory

Assessment

Quiz

Computers

10th - 12th Grade

Medium

Created by

M Dwedari

Used 10+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

These are the hardest errors to spot. This is when the program works perfectly but doesn’t give the correct answer. The programmer has made a mistake in the way it should work

Logic errors

Run-time errors

Syntax errors

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To spot ................. errors, programmers will often try out programs to see if they will work by dry running the program. They work through the program one line at a time and record the values of each variable in a trace table.

syntax errors

logic errors

run-time errors

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

............... this is when you make mistakes in writing the correct programming language. When you try running the program, the computer will tell you there is something wrong because it cannot understand the language you have used.

Logic errors

Run-time errors

Syntax errors

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

These happen when the computer tries to do something that is impossible e.g. divide by zero or open a file that doesn’t exist. Robust computer code (we’ll deal with this later) will make sure these don’t happen.

Syntax errors

Logic errors

Runtime errors

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A variable which is defined in the main program.

Local variable

Global variable

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A variable which is defined in the procedure- these cannot be used anywhere else unless they become global or are passed somewhere else.

Local variable

Global variable

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A procedure that can also return data back into the main program.

Function

Procedure

Global

Local

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?