PRF192
Quiz
•
Fun
•
KG
•
Practice Problem
•
Medium
Duy Phong chuyên toán
Used 33+ times
FREE Resource
Enhance your content in a minute
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
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
50 questions
Indoor Recess!
Quiz
•
6th Grade
50 questions
Famous Logos
Quiz
•
8th Grade
52 questions
Pokemon
Quiz
•
KG - 11th Grade
50 questions
Day, Month, Year, Time
Quiz
•
7th - 12th Grade
50 questions
Pop Culture Trivia
Quiz
•
KG - Professional Dev...
50 questions
PUPK
Quiz
•
KG
50 questions
ipl
Quiz
•
1st - 2nd Grade
50 questions
Metarrior's "Super Brain": Final Round
Quiz
•
University
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
