Programming basics

Programming basics

12th Grade

15 Qs

quiz-placeholder

Similar activities

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

Arrays += Chan

Arrays += Chan

9th - 12th Grade

12 Qs

MHS College Application Process Trivia

MHS College Application Process Trivia

9th - 12th Grade

15 Qs

AP CSP Fall Final Review

AP CSP Fall Final Review

9th - 12th Grade

20 Qs

Unit 8 Javascript Quiz

Unit 8 Javascript Quiz

9th - 12th Grade

15 Qs

Computer Science

Computer Science

9th - 12th Grade

20 Qs

Computer Science

Computer Science

3rd - 12th Grade

12 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?