
Arrays & Strings

Quiz
•
English
•
University
•
Medium
Abdul Rahman
Used 2+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Array is collection of _____ dataItems
Similar
Differenet
Limited
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Array index always starts with _____.
0
1
-1
2
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int a[]={1,2,3,4};
printf("%d",a[1]+a[2]);
2
3
4
5
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
char a[]={'1','2','3','4'};
printf("%d",a[1]+a[2]);
3
23
5
101
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
character array is callled as
big char
string
boolean
void
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int a[5];
for(int i=0;i<3;i++){
scanf("%d",&a[i]);
}
printf("%d",a[3]);
it will print the element of 3rd index
it will print the element of 2nd index
it will print some garbage value
it will produce error
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
choose the wrong declaration
int a[5];
int a=[5];
int a={1,2,3};
int a=[1,2,3];
Create a free account and access millions of resources
Similar Resources on Wayground
13 questions
Loops and operators java

Quiz
•
University
20 questions
Fundamentals of C and Python

Quiz
•
University
18 questions
Các khái niệm cơ bản về lập trình

Quiz
•
University
20 questions
The Skin I'm In- Chapters 7-13 TEST

Quiz
•
5th Grade - University
20 questions
Coding Basics

Quiz
•
12th Grade - University
18 questions
Computer Quiz

Quiz
•
University
10 questions
Vocabulary

Quiz
•
8th Grade - University
15 questions
introduction to C++ programming PQ1

Quiz
•
University
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade