Small Basic Programming Quiz

Small Basic Programming Quiz

7th Grade

15 Qs

quiz-placeholder

Similar activities

Data, soubory, počítačová síť

Data, soubory, počítačová síť

7th Grade

16 Qs

Salvăm Parola

Salvăm Parola

6th Grade - University

11 Qs

Python L39 US Game 1

Python L39 US Game 1

6th - 8th Grade

12 Qs

HTML CSS JS

HTML CSS JS

6th - 8th Grade

20 Qs

prgramming

prgramming

6th Grade - University

11 Qs

Ms Excel 1

Ms Excel 1

7th Grade

10 Qs

แบบทดสอบองค์ประกอบของคอมพิวเตอร์

แบบทดสอบองค์ประกอบของคอมพิวเตอร์

7th Grade

10 Qs

QUIZ TIK KELAS 7

QUIZ TIK KELAS 7

7th Grade

20 Qs

Small Basic Programming Quiz

Small Basic Programming Quiz

Assessment

Quiz

Information Technology (IT)

7th Grade

Hard

Created by

Andrew Harrop [Manchester]

Used 24+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable in programming?

A type of loop

A storage location identified by a memory address

A type of function

A control structure

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid data type in Small Basic?

Integer

String

Boolean

All of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of an 'If' statement in programming?

To repeat a block of code

To make decisions based on conditions

To define a function

To store data

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a loop structure in Small Basic?

For...EndFor

If...EndIf

Function...EndFunction

Input...Output

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following code do? ```smallbasic For i = 1 To 5 TextWindow.WriteLine(i) EndFor ```

Prints numbers 1 to 5

Prints numbers 0 to 4

Prints the number 5

Prints the number 1

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you take input from the user in Small Basic?

TextWindow.Read()

TextWindow.Write()

TextWindow.Print()

TextWindow.Display()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following code output? ```smallbasic TextWindow.WriteLine("Hello, World!") ```

Hello, World!

"Hello, World!"

Hello World

"Hello World"

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?