Search Header Logo

Theory

Authored by M Dwedari

Computers

10th - 12th Grade

Used 10+ times

Theory
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?