C++ Array Quiz

C++ Array Quiz

University

10 Qs

quiz-placeholder

Similar activities

computer Networks

computer Networks

University

10 Qs

Scratch

Scratch

KG - Professional Development

10 Qs

DCN5511: Chapter 5 - 7

DCN5511: Chapter 5 - 7

University

15 Qs

Structured/Traditional SDM

Structured/Traditional SDM

University

9 Qs

 QUIZ  MS Core Java Quiz-3 2023

QUIZ MS Core Java Quiz-3 2023

University

11 Qs

Nuclear Medicine Intro

Nuclear Medicine Intro

University

12 Qs

QUIZ GAME

QUIZ GAME

University

10 Qs

G7 - Ôn tập C1,2

G7 - Ôn tập C1,2

KG - University

10 Qs

C++ Array Quiz

C++ Array Quiz

Assessment

Quiz

Computers, Science

University

Medium

Created by

M.Syafiq Asyraff

Used 103+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

To access an array element, use the array name and the element's

data type

subscript

name

value

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

A two-dimensional array is like _____ put together.

an array and a function

several identical arrays

two functions

two arrays of different types

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

A two-dimensional array can be viewed as _______ and ________.

rows, columns

arguments, parameters

increments, derements

All of these

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is a valid C++ array definition?

int scores [0];

float $payments [10];

int readings [4.5];

int scores [10];

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

An array can store a group of values, but the values must be .....

the same data type

each of a different data type

constants

integers

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

To assign the contents of one array to another, you must use

the assignment operator with the array names

the equality operator with the array names

a loop to assign the elements of one array to the other array

Any of these

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

To pass an array as an argument to a function, pass the _________ of the array.

contents

size, expressed as an integer

name

value of the first element

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?