Search Header Logo

KS3 Year 7 Summative from NCCE

Authored by Mr McCallion

Computers

6th - 8th Grade

Used 28+ times

KS3 Year 7 Summative from NCCE
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of the following segments of code would you find most appropriate to use in order to draw a blue square in Scratch?

Media Image
Media Image
Media Image
Media Image

Answer explanation

One missed the option of making the pen down and pen colour instructions.

The one that just said "Draw (Square)" is not a command availabel in Scratch.

One had no arguments for the commands "move forward" and "turn right".

The computer will not guess this information or make assumptions like a human.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Would the program here play the Nursery rhyme "Hot Cross Buns" correctly?

Yes

No

Answer explanation

It has a bug! The two subroutines are correct, but the main code would call them in the wrong order!

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What would the output of “say weather” be at the end of this program?

rain

cloudy

rain, sun, rain, cloudy

weather

Answer explanation

Variables can only hold one piece of data. They only hold the last piece of data assigned to them.

The last value assigned to weather variable was "cloudy", so the say(weather) outputs the value in the weather variable, which is "cloudy".

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What value would be held by the ‘name1’ variable and the ‘name2’ variable at the end of this program?

name1 = Jordan 

name2 = Riley

name1 = Riley

name2 = Jordan

name1 = Jordan 

name2 = Jordan

name1 = Riley

name2 = Riley

Answer explanation

name2 was assigned the value "Riley" and not changed.

name1 was assigned the value "Jordan", but then assigned th value from name2 ("Riley") where we had set name1 to name2.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of this program when it is executed? (What will the sprite say)?

Good afternoon

How are you?

Good afternoon

How are you?

Nothing will be outputted/said

Answer explanation

The condition will evaluate as ‘true’ and therefore “Good afternoon” will be outputted.

The “How are you?” will also be outputted as it is outside of the selection statement and so will always be outputted.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of this program when it is executed? (What will the sprite say)?

Good afternoon

How are you?

How are you?

Good morning

Good afternoon

How are you?

Good morning

How are you?

Answer explanation

The condition evaluates to FALSE as the hour variable is set to 12, and 12 is not less than 12.

The else part of the code executes, outputting "Good Afternoon", then the last line is always outputted.

7.

MULTIPLE SELECT QUESTION

45 sec • 2 pts

Media Image

Select all the conditions that evaluate to ‘True’ with the inputs number 1 = 30 and number 2 = 90 ?

Media Image
Media Image
Media Image
Media Image

Answer explanation

The And required both conditions to evaluate to ‘true’. if either is 'false' the AND evaluates to 'false'.

The Or operator requires one OR the other conditions to evaluate to 'true'. If both are ‘true’ the Or will still evaluate to ‘true’. 

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?