Robust programming MCQs

Robust programming MCQs

9th - 11th Grade

20 Qs

quiz-placeholder

Similar activities

iGCSE Computer Science: Problem Solving

iGCSE Computer Science: Problem Solving

9th - 12th Grade

20 Qs

Paper 2 Revision

Paper 2 Revision

10th Grade - University

15 Qs

Subroutines

Subroutines

9th - 11th Grade

16 Qs

Computer Science

Computer Science

9th - 12th Grade

20 Qs

Selection in Python

Selection in Python

1st - 9th Grade

15 Qs

OCR GCSE CS MCQs 2.3 Defensive Design

OCR GCSE CS MCQs 2.3 Defensive Design

10th - 11th Grade

20 Qs

Computer Crimes and Computer Ethics

Computer Crimes and Computer Ethics

6th - 10th Grade

21 Qs

Basic Programming

Basic Programming

9th Grade

20 Qs

Robust programming MCQs

Robust programming MCQs

Assessment

Quiz

Computers

9th - 11th Grade

Hard

Created by

Alison Heal

Used 17+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is not a method for ensuring a program is robust?

Keeping passwords safe

Data

Validation

Authentication

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is data validation?

Checking that the data entered is wrong

Checking that the data entered is correct

Checking that the data entered is sensible or reasonable

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why is code indented?

To group together a function

The code does not use a { syntax and indentation is used instead

To make it easier to read

All of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these authentication methods is most secure?

Password

Password and username

Key Card

2 factor authentication

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is these IS NOT an example of validation?

Checking the number entered is 2 digits

Asking a user to type in a number

Use of a Lookup table

Use of a presence check

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does a range check do?

Checks data across a range of numbers

Checks the data is within an acceptable range

Sorts numbers into ascending order

Checks that the data is in the correct format

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When a program runs it asks the user to enter their first name. Which is an example of Valid data?

00000

Sarah

Sarah J0n3s

Sarah Jones

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?