Programming basics

Programming basics

12th Grade

15 Qs

quiz-placeholder

Similar activities

Loops

Loops

9th - 12th Grade

10 Qs

AP CSP Unit 6

AP CSP Unit 6

10th - 12th Grade

20 Qs

HTML tags

HTML tags

9th - 12th Grade

20 Qs

Python Programming Quiz

Python Programming Quiz

9th Grade - University

20 Qs

Python Basic II

Python Basic II

11th Grade - University

20 Qs

BJC Unit 1 Review

BJC Unit 1 Review

10th - 12th Grade

13 Qs

CodeHS 5.1

CodeHS 5.1

9th - 12th Grade

15 Qs

CSAwesome Unit 1 Test

CSAwesome Unit 1 Test

12th Grade

18 Qs

Programming basics

Programming basics

Assessment

Quiz

Computers, Other, Education

12th Grade

Hard

Created by

Ian Garraway

Used 103+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many basic data types are there?

3

4

as many as you want

data types?

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the odd one out?

IF

WHILE

FOR

DO...UNTILL

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

You want to show some code if the age is over 18, which is the correct command? (c#)

IF (age < 18)

IF (age >= 18)

IF age > 18

IF (age > "18")

IF (age > 18)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

This is an array of 6 elements, called scores, which is the correct reference to access the element with -16 in it.

scores[-16]

scores[3]

scores[4]

scores(5)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You need an variable to act as a counter, what would be the best data type to use?

Real/Float

Integer

String

Bool

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You are looking for a specific card in a deck of cards, which of the standard algorithms will you use?

Quick search

Binary search

Bubble search

Linear search

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

i++; is the same as writing:

i = i +1;

i = i * i;

i = i - 1;

GOTOWHILE;

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?