
module3

Quiz
•
Computers
•
University
•
Hard
naziyapm 4kmea
Used 2+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the correct syntax to declare a one-dimensional array of integers in C?
int array[5];
int array[];
int array[5] = {1, 2, 3, 4, 5};
int array[5][5];
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How do you access the third element in a one-dimensional array named numbers?
numbers[2]
numbers[3]
numbers(3)
numbers[1]
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the correct syntax to initialize a two-dimensional array?
int array[2][3] = {{1, 2, 3}, {4, 5, 6}};
int array[2,3] = {1, 2, 3, 4, 5, 6};
int array[2,3] = {{1, 2, 3}, {4, 5, 6}};
int array[2][3] = {1, 2, 3, 4, 5, 6};
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How do you declare a two-dimensional array of floats with 4 rows and 5 columns?
float array[4][5];
float array[4][5];
float array[4,5];
float array[5,4];
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the size of the array char str[10] = "Hi";?
2
3
10
11
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does the following code output?
4
5
6
7
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Arrays are structures that hold multiple variables of the _____________ data type
int data type
char data type
same data type
different data type
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
ISTE TECHNICAL

Quiz
•
University
20 questions
Quiz 1_DSA

Quiz
•
University
15 questions
BASIC C PROGRAMMING QUIZ

Quiz
•
University
10 questions
Questionário sobre Javascript

Quiz
•
University
14 questions
Lets explore Java

Quiz
•
University
20 questions
Java, part I

Quiz
•
11th Grade - University
20 questions
C Programming Assessment-1

Quiz
•
University
15 questions
Qûîz

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University