
basic Arrays,Strings,Looping,pointers in c program
Quiz
•
Computers
•
1st Grade
•
Practice Problem
•
Medium
Mohanraj S
Used 6+ times
FREE Resource
Enhance your content in a minute
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an array?
An array is a data structure that stores a collection of elements.
An array is a musical instrument used in orchestras.
An array is a type of programming language.
An array is a type of fish found in the ocean.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you declare an array in C?
array myArray[5];
int myArray;
myArray = [5];
int myArray[5];
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the size of an array?
Number of elements in the array
index of array
Number of dimensions in the array
Number of bytes used by the array
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to declare a string in C?
char str[] = "Hello";
string str = "Hello";
char* str = "Hello"; str = "Hello";
str = "Hello";
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you concatenate two strings in C?
concat(string1, string2)
strconcat(string1, string2)
strcat(string1, string2)
strjoin(string1, string2)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which loop in C executes at least once, even if the condition is false?
for loop
while loop
do-while loop
switch loop
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the different types of loops in C?
if loop
until loop
for loop, while loop, do-while loop
repeat loop
Access all questions and much more by creating a free account
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
20 questions
Bài 11: KIỂU MẢNG MỘT CHỀU
Quiz
•
1st - 10th Grade
16 questions
Parts of Computer, Terms and Cybersecurity
Quiz
•
1st - 5th Grade
15 questions
PYTHON 2 REVIEW
Quiz
•
KG - 1st Grade
15 questions
Bagian-bagian Komputer
Quiz
•
1st Grade
20 questions
Tin học 11 chương I
Quiz
•
1st - 12th Grade
15 questions
coding
Quiz
•
KG - Professional Dev...
11 questions
RPA QUIZ
Quiz
•
1st Grade
18 questions
Small Basic Challenge
Quiz
•
KG - 7th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
Telling Time to the Hour and Half hour
Quiz
•
1st Grade
10 questions
Exploring Rosa Parks and Black History Month
Interactive video
•
1st - 5th Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
13 questions
Fractions
Quiz
•
1st - 2nd Grade
20 questions
CVC Words
Quiz
•
KG - 1st Grade
15 questions
Place Value tens and ones
Quiz
•
1st Grade
16 questions
Money - Coins
Lesson
•
1st - 2nd Grade
20 questions
Halves and Fourths
Quiz
•
1st Grade
