
CPPS Quiz
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Harsh Kate
Used 1+ times
FREE Resource
Enhance your content in a minute
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. Which of these best describes an array?
a) A data structure that shows a hierarchical behavior
b) Container of objects of similar types
c) Arrays are immutable once initialised
d) Array is not a data structure
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2. How do you initialize an array in C?
a) int arr[3] = (1,2,3);
b) int arr(3) = {1,2,3};
c) int arr[3] = {1,2,3};
d) int arr(3) = (1,2,3);
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3) Choose a correct statement about C language arrays.
A) An array address is the address of first element of array itself
B) An array size must be declared if not initialized immediately
C) Array size is the sum of sizes of all elements of the array.
D) All the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4) What are the Types of Arrays.?
A) int, long, float, double
B) struct, enum
C) char
D) All the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5) An array Index starts with.?
A) -1
B) 0
C) 1
D) 2
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6) Choose a correct statement about C language arrays.
A) An array size can not changed once it is created.
B) Array element value can be changed any number of times
C) To access Nth element of an array students, use students[n-1] as the starting index is 0.
D) All the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7) What is the output of C Program.? int main() { int a[]; a[4] = {1,2,3,4}; printf("%d", a[0]); }
A) 1
B) 2
C) 4
D) Compiler error
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
Already have an account?
Similar Resources on Wayground
10 questions
Hệ Điều Hành Của Máy Tính
Quiz
•
10th Grade - University
10 questions
C++ Array Quiz
Quiz
•
University
17 questions
Đề ôn tập cuối HKI lớp 5
Quiz
•
6th Grade - University
10 questions
paquetes contables lección 1
Quiz
•
11th Grade - Professi...
15 questions
quiz pertemuan 2 asik ddp
Quiz
•
University
10 questions
Software Testing
Quiz
•
University
15 questions
Mengenal Jendela dan Ikon Microsoft Excel
Quiz
•
7th Grade - University
15 questions
HTML Quiz
Quiz
•
11th Grade - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Holiday Trivia
Quiz
•
9th Grade - University
15 questions
Holiday Movies
Quiz
•
University
14 questions
Christmas Trivia
Quiz
•
3rd Grade - University
20 questions
Christmas Trivia
Quiz
•
University
8 questions
5th, Unit 4, Lesson 8
Lesson
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University
