
basic Arrays,Strings,Looping,pointers in c program

Quiz
•
Computers
•
1st Grade
•
Medium
Mohanraj S
Used 6+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Advanced Excel

Quiz
•
KG - University
20 questions
แบบทดสอบกลางภาคpythonครูสมชาย

Quiz
•
1st - 3rd Grade
12 questions
C# Programming Quiz

Quiz
•
1st Grade
13 questions
A words - GCSE Computer Science

Quiz
•
1st - 10th Grade
11 questions
Avaliação Pensamento Computacional 1º Série

Quiz
•
1st Grade
15 questions
REC2/3TRI - JAVASCRIPT

Quiz
•
1st Grade
13 questions
Питонимся

Quiz
•
1st - 5th Grade
14 questions
Python-basics

Quiz
•
1st - 4th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
addition

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

Quiz
•
1st - 3rd Grade
20 questions
Addition and Subtraction facts

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

Quiz
•
KG - 3rd Grade
10 questions
Exploring Properties of Matter

Interactive video
•
1st - 5th Grade
10 questions
Odd and even numbers

Quiz
•
1st - 2nd Grade
10 questions
Exploring the 5 Regions of the United States

Interactive video
•
1st - 5th Grade
7 questions
Parts of Speech

Lesson
•
1st - 12th Grade