Search Header Logo

Programming basics

Authored by Ian Garraway

Computers, Other, Education

12th Grade

Used 103+ times

Programming basics
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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;

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?