Arrays in CQuiz
Quiz
•
Information Technology (IT)
•
1st Grade
•
Medium
Panha Panha
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the general form of a single-dimension array declaration?
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
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
10 класс
Quiz
•
10th Grade
12 questions
COMPUTACION
Quiz
•
10th Grade
10 questions
Мэдээллийн технологи
Quiz
•
8th Grade - University
9 questions
BÀI 5 SỬ DỤNG ĐỊA CHỈ TƯƠNG ĐỐI, TUYỆT ĐỐI TRONG CÔ
Quiz
•
7th Grade
10 questions
Kiểm tra Tin 7
Quiz
•
7th Grade
10 questions
MongoDB Concepts 2
Quiz
•
University
12 questions
ASAS GANJIL INFOR IX 2425
Quiz
•
9th Grade
10 questions
CÔNG DÂN SỐ THÔNG MINH 3
Quiz
•
3rd Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Information Technology (IT)
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
4 questions
What is Red Ribbon Week
Interactive video
•
1st - 5th Grade
10 questions
History of Halloween
Interactive video
•
1st - 5th Grade
18 questions
It's Halloween!
Quiz
•
1st - 4th Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
21 questions
Halloween
Quiz
•
KG - 5th Grade
18 questions
Pushes & Pulls
Quiz
•
1st - 4th Grade
28 questions
Halloween Trivia
Quiz
•
1st - 5th Grade
