PRF192
Quiz
•
Fun
•
KG
•
Medium
Duy Phong chuyên toán
Used 33+ times
FREE Resource
Student preview

55 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the proper declaration of a string named str which stores the value "Melodies"
char str[7]="Melodies";
char str[9]= 'Melodies';
char str[]=Melodies;
char str[]="Melodies";
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What can NOT be included in the variable name in C?
Digits
Underscore (_)
Letters
Dash (-)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following variable names are NOT valid?
go_cart
go4it
4season
run4
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the followings can be passed to the functions?
Data type
Loop
Value
Operator
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the followings is TRUE about array
An array is data type, which represents different types of data within a single group.
An array is group of elements, which are of the same size and data type and have the same name.
Array bound specifies the minimum size of data that can be stored.
An array is special variable which contains the address of the memory location of the another variable.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose age is an integer variable. Select correct statements which declare a pointer of type integer and assign an address of the variable age to it.
*int p; p = &age;
int *p; p = &age;
int *p; p = age;
int p*; p = &age;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Function strlen() is for finding the number of characters in a string
True
False
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade