Programming basics

Programming basics

12th Grade

15 Qs

quiz-placeholder

Similar activities

C++ - Loops and Random Numbers

C++ - Loops and Random Numbers

9th - 12th Grade

14 Qs

GD2 - 3.13 Unit 3 Test - Loops, Strings & Arrays

GD2 - 3.13 Unit 3 Test - Loops, Strings & Arrays

10th - 12th Grade

20 Qs

ArrayList Quiz

ArrayList Quiz

12th Grade

20 Qs

Python U2M3 Test

Python U2M3 Test

9th - 12th Grade

16 Qs

AP CS A Unit 6 Quiz PRACTICE

AP CS A Unit 6 Quiz PRACTICE

9th - 12th Grade

10 Qs

Technology

Technology

KG - University

11 Qs

College & Future Planning

College & Future Planning

9th - 12th Grade

20 Qs

Technology & Ethics

Technology & Ethics

9th - 12th Grade

16 Qs

Programming basics

Programming basics

Assessment

Quiz

Computers, Other, Education

12th Grade

Hard

Created by

Ian Garraway

Used 101+ 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?