Theory

Theory

10th - 12th Grade

12 Qs

quiz-placeholder

Similar activities

Python Syntax

Python Syntax

6th - 12th Grade

14 Qs

C# Programming Quiz

C# Programming Quiz

12th Grade

10 Qs

Programming Theory 1

Programming Theory 1

10th Grade

15 Qs

3. Producing robust programs

3. Producing robust programs

10th Grade

14 Qs

algorithms and programming

algorithms and programming

8th - 10th Grade

16 Qs

python intro

python intro

4th - 12th Grade

17 Qs

Python Programming: Functions and Procedures

Python Programming: Functions and Procedures

9th - 11th Grade

12 Qs

H466 - Global and Local Variables

H466 - Global and Local Variables

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?