3.2 Check in

3.2 Check in

9th Grade

8 Qs

quiz-placeholder

Similar activities

Python Lists

Python Lists

7th - 11th Grade

9 Qs

Computer Science

Computer Science

9th Grade

13 Qs

Pemahaman Dasar Komputasi

Pemahaman Dasar Komputasi

9th Grade - University

10 Qs

Arrays and Lists

Arrays and Lists

6th - 12th Grade

10 Qs

Checkpoint 1 revision

Checkpoint 1 revision

9th - 12th Grade

9 Qs

54. Programming 2 : Records

54. Programming 2 : Records

9th Grade

11 Qs

Programming Keywords Year 8

Programming Keywords Year 8

9th Grade

10 Qs

One Dimensional Array

One Dimensional Array

9th Grade - University

14 Qs

3.2 Check in

3.2 Check in

Assessment

Passage

Computers

9th Grade

Medium

Created by

Kabir Singh

Used 1+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Halloween candy is ranked number 1 according to the data provided?

Reese's Miniatures

Twix

Reese's Peanut Butter Cup

Snickers

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the percentage preference for Kit Kat?

81.6%

76.8%

73.4%

76.7%

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which candy is less preferred, Reese's Pieces or Milky Way?

Reese's Pieces

Milky Way

They have the same preference percentage

Cannot be determined from the data provided

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an initializer list in the context of arrays?

A method to initialize array elements to zero

A function that is called when an array is created

A comma-separated list of values or objects given inside curly braces

A special type of array that can change size dynamically

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the index of an array?

The length of the array

The memory address where the array is stored

A unique identifier for each element in an array

The value stored at a particular position in an array

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you change the first value of a double array named 'temps' to 85.1?

temps[0] = 85.1;

temps[1] = 85.1;

temps[85.1] = 0;

temps[85.1] = 1;

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you store the value of the second element of a double array named 'temps' in a variable called noonTemp?

noonTemp = temps[2];

noonTemp = temps[1];

noonTemp = temps[0];

noonTemp = temps;

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How is assigning a value to a position in a 1D array similar to assigning a value to a variable? How is it different?

Similar: Both involve specifying a location to store a value. Different: Arrays can store multiple values, variables only one.

Similar: Both can store multiple values. Different: Variables use indices, arrays do not.

Similar: Both use curly braces for assignment. Different: Arrays require an index, variables do not.

Similar: Both are used to store integers only. Different: Arrays can be multidimensional, variables cannot.