Year 13 Benchmark Assessment

Year 13 Benchmark Assessment

24 Qs

quiz-placeholder

Similar activities

Extemporary Test: Unit 1-Grammar and Vocabulary

Extemporary Test: Unit 1-Grammar and Vocabulary

KG - University

20 Qs

Examen parcial 1 Calidad

Examen parcial 1 Calidad

University

21 Qs

1.3 Networks

1.3 Networks

KG - University

20 Qs

Unit 8: Political Revolutions 1750-1914

Unit 8: Political Revolutions 1750-1914

KG - University

20 Qs

Can you guess which adult chose each book?

Can you guess which adult chose each book?

1st - 5th Grade

19 Qs

Baseline for Beginners

Baseline for Beginners

KG - University

19 Qs

Year 13 Benchmark Assessment

Year 13 Benchmark Assessment

Assessment

Quiz

others

Practice Problem

Hard

Created by

Mr Mills Computer Science

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

24 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a type check?

A check to make sure that the input data is a string.
A check to make sure that the input data is a number.
A check to make sure that the input data is the correct kind of data.
A check to make sure the output data is correct is the correct kind of data.

2.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

What is a check digit?

It is a number added to the end of a piece of data.
It is randomly generated.
It is created by a mathematical calculation.
It allows a program to identify if two pieces of data are identical.
It ensures that data is in the correct format.

3.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

What is a format check?

It ensures the correct kind of data is inputted.
It ensures data conforms to a set of pre-defined rules.
It is created using a mathematical calculation.
It is commonly used on postcodes and car registration numbers.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a programming constraint?

It is something to stop you doing what you want to do.
It is a rule that makes sure that users enter correct data into a program.
It is a way of checking the length of a string.
It is a set of error messages when a user has done something wrong.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You want to make sure that a user enters a number into your program that is less than 10. Which validation check would you use?

Range
Length
Presence
None of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A program contains the code below. What type of validation check is this code an example of?

Range
Length
Presence
None of the above

7.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

You want to include a validation check to make sure that a user enters any number up to 20. Which three of the following validation rules are correct?

if (userNumber >= 0 && userNumber <= 20)
if (userNumber <= 20)
if (userNumber < 21)
if (userNumber > 0 && userNumber < 20)
if (userNumber <= 21)

Create a free account and access millions of resources

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?