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
Similar Resources on Wayground
15 questions
Array Data - Bab Berfikir Komputasional

Quiz
•
9th Grade
10 questions
2D Array in C++ Quiz

Quiz
•
6th Grade
10 questions
Vlookup dan Hlookup

Quiz
•
8th Grade
15 questions
Java Concepts Assessment For J.A

Quiz
•
University
15 questions
C - Parithabangal

Quiz
•
University
15 questions
แข่งขันcodingม.ปลาย

Quiz
•
12th Grade - University
6 questions
SNLTW_HP1_BUỔI 4

Quiz
•
9th Grade
10 questions
Variáveis e tipos de dados em JavaScript

Quiz
•
1st Grade
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
18 questions
D189 1st Grade OG 1c Concept 37-38

Quiz
•
1st Grade
20 questions
addition

Quiz
•
1st - 3rd Grade
20 questions
Subject and predicate in sentences

Quiz
•
1st - 3rd Grade
20 questions
Place Value

Quiz
•
KG - 3rd Grade
10 questions
Exploring Force and Motion Concepts

Interactive video
•
1st - 5th Grade
10 questions
Exploring Properties of Matter

Interactive video
•
1st - 5th Grade
5 questions
Sense and Response

Quiz
•
1st Grade