QP-ARY

QP-ARY

40 Qs

quiz-placeholder

Similar activities

(GRADE 5-BAHASA INGGRIS) SUMATIF AKHIR SEMESTER GANJIL 2023/2024

(GRADE 5-BAHASA INGGRIS) SUMATIF AKHIR SEMESTER GANJIL 2023/2024

KG - University

40 Qs

SOAL LATIHAN INFORMATIKA KELAS VII

SOAL LATIHAN INFORMATIKA KELAS VII

7th Grade

41 Qs

Informatika 12 PM 1 ganjil 2023 2024

Informatika 12 PM 1 ganjil 2023 2024

KG - University

35 Qs

Informatika 12 PM 2 ganjil 2023 2024

Informatika 12 PM 2 ganjil 2023 2024

KG - University

40 Qs

Vocab Builder Quiz 2

Vocab Builder Quiz 2

KG - University

44 Qs

คณิตศาสตร์มหัศจรรย์

คณิตศาสตร์มหัศจรรย์

8th Grade

40 Qs

C Programming And Data Structures & Algorithms(EE-B)

C Programming And Data Structures & Algorithms(EE-B)

KG - University

44 Qs

Final Exam ว32281 Data Structure and Database

Final Exam ว32281 Data Structure and Database

KG - University

36 Qs

QP-ARY

QP-ARY

Assessment

Quiz

others

Hard

Created by

Rajesh Yelchuri

FREE Resource

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an array?
A collection of variables of different data types
A single variable that holds one value
An array is a collection of similar data items
A variable that can hold only one value

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How are elements in an array accessed?
Using a unique identifier for each element
Using an index number
By randomly picking an element
Using a different variable for each element

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the index of the first element in a C array?
1
0
Depends on the array size
Undefined

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If an array is declared as int arr[5], what is the maximum index?
5
4
6
None

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the size in array declaration (int arr[10])?
To initialize all elements
To specify the maximum index
To determine the data type
To set the last element

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following correctly declares an array of 10 integers?
int arr;
int arr[10];
array int arr[10];
int arr{10};

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is stored in an array?
Pointers to data
Elements of different data types
Elements of the same data type
Both pointers and data

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?