Array

Array

University

10 Qs

quiz-placeholder

Similar activities

Microcontroller

Microcontroller

11th Grade - University

10 Qs

Input, output and storage de

Input, output and storage de

8th Grade - Professional Development

14 Qs

Computer Architecture Unit 3

Computer Architecture Unit 3

University

15 Qs

Tin 8/1

Tin 8/1

KG - University

10 Qs

Assessment 08

Assessment 08

University

15 Qs

CID421 Introduction to 3D CAD SOLIDWORK

CID421 Introduction to 3D CAD SOLIDWORK

University

12 Qs

Video Watermaking

Video Watermaking

University

11 Qs

GIS Unit-1

GIS Unit-1

University

15 Qs

Array

Array

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Michael Bensi

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used to store multiple values of the same data type in a single variable?

Array

Constant

Variable

Class

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following symbol is used when declaring an array?

<>

{}

()

[]

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following property is used to find out how many elements an array has?

size

width

length

count

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct way of creating an array of integers with an initial value?

int num[]= 1,2,3

int[] num= 1,2,3

int[] num={"1,2,3"}

int[] num={1,2,3}

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given the following code: int[] = {7,9,5,6,7,8};

What is the value of age[2]?

9

7

5

6

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given the following code: int[] sum={6,8,7,9,3,2,1};

What is the index of 3?

3

2

4

5

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given the following code: int[] sum= {5,8,7,9,6,3,1,2,4};

What is the value of sum.length;?

8

7

9

6

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?

Discover more resources for Computers