Search Header Logo

H446_7_Computer Programming Quiz

Authored by George Dong

Computers

12th Grade

H446_7_Computer Programming Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

73 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an array defined as in computer programming?

A finite, ordered set of elements of the same type

A random collection of different data types

An infinite list of unordered elements

A single element of any type

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of an elementary data type?

Integer

Array

Record

String

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the array myArray = [51, 72, 35, 37, 0, 3], what value is assigned to x when x = myArray[2]?

35

51

72

37

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the index of "pigeon" in the array birdName = ["robin", "blackbird", "pigeon", "magpie", "bluetit", "thrush", "wren", "starling"]?

2

1

3

0

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function is used to return the length of an array in most programming languages?

len()

size()

count()

length()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the purpose of the pseudocode algorithm described in the document?

To sort an array of bird names alphabetically.

To find the position of a particular bird in an array.

To calculate the total number of birds observed.

To delete a bird name from the array.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the initial value of the `birdFound` variable in the pseudocode?

True

False

0

1

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?