Programming basics

Programming basics

12th Grade

15 Qs

quiz-placeholder

Similar activities

Intro to Java Loops

Intro to Java Loops

9th - 12th Grade

15 Qs

Principles of Programming

Principles of Programming

KG - University

13 Qs

list in python

list in python

12th Grade

19 Qs

Python Functions & Library

Python Functions & Library

12th Grade

12 Qs

CODING AND DECODING

CODING AND DECODING

12th Grade

10 Qs

CodeHS Concepts of Programming JavaScript

CodeHS Concepts of Programming JavaScript

9th - 12th Grade

15 Qs

KS3 - Fun Computing Quiz 2

KS3 - Fun Computing Quiz 2

4th - 12th Grade

10 Qs

Scratch 2

Scratch 2

KG - University

10 Qs

Programming basics

Programming basics

Assessment

Quiz

Computers, Other, Education

12th Grade

Hard

Created by

Ian Garraway

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