___________is a collection of data items, all of same type, accessed using a common name

C program

Quiz
•
Education
•
University
•
Medium
Dr. Mary
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
arrays
pointers
statements
data types
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Analyze the program and predict the output
#include<stdio.h>
int main()
{
int mynumbers[ ]={25,60,70,12}
print ("%d", mynumbers[1]);
return 0;
}
60
70
25
12
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Examine the program and predict the output
#include<stdio.h>
void main()
{
int a[5]={10,20,30,40,50};
int i;
for(i=0;i<5;i++)
{
printf("%d\n",a[i]);
}
return 0();
}
10,20,30,40,50
10.40,70,90
20,30,40,50
50,40,30,20,10
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Evaluate the following code and determine the output
#include<stdio.h>
int main()
{
int nums[3]={5,15,25};
printf("%d", nums[2]);
return 0;
}
5
15
25
None of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Inspect the code and predict the output
#include<stdio.h>
int main()
{
int values[4]={1,2,3,4};
for(int j=0;j<4;j++)
{
printf("%d ", values[j]);
}
return 0;
}
1 2 3 4
4 3 2 1
2 3 4
1 2 3
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Review the following code and determine the output
#include<stdio.h>
int main()
{
int arr[4]={100,200,300,400};
printf("%d", arr[3]);
return 0;
}
100
200
300
400
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Analyze the code snippet and predict the output
#include<stdio.h>
int main()
{
int numbers[5]={1,2,3,4,5};
for(int k=0;k<5;k++)
{
printf("%d ", numbers[k]);
}
return 0;
}
1 2 3 4 5
5 4 3 2 1
2 3 4 5
1 2 3 4
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Basic Python

Quiz
•
10th Grade - University
15 questions
ALGORITHM GAMES

Quiz
•
University
12 questions
JAVA FUNDAMENTALS

Quiz
•
University
6 questions
PR EidP Quiz Seminar 3

Quiz
•
University
11 questions
Python - Functions

Quiz
•
University
10 questions
1.0 Introduction To Fundamentals Of Programming

Quiz
•
University
5 questions
Programming and Technical - L3

Quiz
•
University
10 questions
Pandas Slicing Quiz1

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade