What is the general form of a single-dimension array declaration?
Arrays in CQuiz

Quiz
•
Information Technology (IT)
•
1st Grade
•
Hard
Panha Panha
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
type name[size];
array name[type];
name[size] type;
size[type] name;
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the index of the first element in an array?
2
-1
0
1
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How many elements can a single-dimension array hold?
Only one
From one to several
Exactly ten
Unlimited
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the total bytes calculation for an integer array of size 5?
15
10
25
20
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the program that prints array A with elements (-1, 33, 26, -5, 9)?
1 2 3 4 5
-1 0 33 26 9
0 1 2 3 4
-1 33 26 -5 9
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the correct syntax to declare an array of floats with 8 elements?
float a(8);
a[8] float;
float[8] a;
float a[8];
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the sorting program for the array {4.3, -2.2, 33, 51, -39.5, 2.9, 6.5, 78}?
-39.5 -2.2 2.9 4.3 6.5 33 51 78
4.3 33 51 78 -39.5 -2.2 2.9 6.5
78 51 33 4.3 2.9 -2.2 -39.5
33 51 78 4.3 2.9 -2.2 -39.5 6.5
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Abstracciones procedimentales

Quiz
•
University
6 questions
Bahasa pemrograman C

Quiz
•
11th Grade
15 questions
Quiz Array Kelas XI

Quiz
•
11th Grade
12 questions
Aula07 - Matrizes

Quiz
•
University
10 questions
3F_14042025_Verifica per orale Informatica

Quiz
•
11th Grade - University
13 questions
_06_03__Réalisation d'un site web dynamique avec PHP

Quiz
•
6th Grade
11 questions
Структурированный тип данных массив

Quiz
•
10th Grade - University
12 questions
Skill #2 Array

Quiz
•
12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
10 questions
American Flag

Quiz
•
1st - 2nd Grade
10 questions
Identifying equations

Quiz
•
KG - University
25 questions
2.4A Add Subtract within 20 quickly: set 3

Quiz
•
1st - 3rd Grade
15 questions
Music 2016

Quiz
•
KG - 12th Grade
12 questions
Summer Trivia

Quiz
•
1st - 5th Grade
44 questions
logos

Quiz
•
KG - University
20 questions
Guess that Disney

Quiz
•
KG - 5th Grade
20 questions
Cartoon Characters!

Quiz
•
KG - 5th Grade