Micro:bit conditions

Micro:bit conditions

6th - 9th Grade

9 Qs

quiz-placeholder

Similar activities

C++ Basics

C++ Basics

7th - 12th Grade

10 Qs

Programming in Python

Programming in Python

6th - 8th Grade

10 Qs

08_Snake Worksheet

08_Snake Worksheet

9th - 12th Grade

10 Qs

Strings & Integers

Strings & Integers

6th - 9th Grade

10 Qs

Python

Python

8th - 9th Grade

10 Qs

Programming basics

Programming basics

9th - 12th Grade

10 Qs

C# lesson10

C# lesson10

1st - 10th Grade

10 Qs

Java Programming

Java Programming

9th Grade - University

11 Qs

Micro:bit conditions

Micro:bit conditions

Assessment

Quiz

Computers

6th - 9th Grade

Hard

Created by

Jana Trojanová

Used 3+ times

FREE Resource

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is output of code?

a < b

Line 4: expecting ':' near '\n'

Line 4: operator '>' cannot be applied to types 'number' and 'string'

Line 4: missing brackets in if statement

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is output of code?

a > b

Line 4: expecting ':' near '\n'

Line 4: operator '>' cannot be applied to types 'number' and 'string'

Line 4: expected '('

Line 4: expected ')'

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is output of code?

a > b

empty screen

Line 4: operator '>' cannot be applied to types 'number' and 'string'

Line 5: types not compatible: number and string

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is output of code?

a > b

Line 4: expecting ':' near '\n'

Line 4: operator '>' cannot be applied to types 'number' and 'string'

Line 5: types not compatible: number and string

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is output of code?

a > b

Line 4: expecting ':' near '\n'

Line 4: operator '>' cannot be applied to types 'number' and 'string'

Line 4: missing brackets in if statement

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is output of code?

a > b

Line 4: expecting ':' near '\n'

Line 4: operator '>' cannot be applied to types 'number' and 'string'

a < b

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is output of code?

a > b

Line 4: expecting ':' near '\n'

Line 4: operator '>' cannot be applied to types 'number' and 'string'

a < b

8.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is output of code?

a > b

Line 6: expecting ':' near '\n'

Line 4: operator '>' cannot be applied to types 'number' and 'string'

a < b

9.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is output of code?

a > b

Line 6: expecting ':' near '\n'

Line 4: operator '>' cannot be applied to types 'number' and 'string'

a < b