
PRF192
Quiz
•
Information Technology (IT)
•
University
•
Practice Problem
•
Medium
Giyuu undefined
Used 7+ times
FREE Resource
Enhance your content in a minute
10 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[]="Melodies";
char str[7]="Melodies";
char str[9]= '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 data type occupied 1 byte?
float
double
char
int
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What is the correct prototype in C? (choose 3)
doFunc(); char;
int doFunc(int, int);
void doFunc(int x, int y);
char doFunc()
float doFunc(void);
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output when the sample code below is executed?
int y = 30;
void foo(int *x){
x= &y;
*x=12;
}
int main(){
int v=10;
foo(&v);
printf("%d",v);
printf("\n");
return 0;
}
10
8
14
address of x
12
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the only function all C programs must contain?
system()
start()
main()
program()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
puts() function can display only one string at a time where as gets() is capable of receiving only one string at a time and can receive a multi-word 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
11 questions
Posttest Keamanan Digital
Quiz
•
University
11 questions
TRẢ LỜI ĐÚNG - TRÚNG QUÀ COOL
Quiz
•
University
10 questions
MP Pertemuan 05
Quiz
•
University
15 questions
Texturas segundo parcial
Quiz
•
University
13 questions
Introduction To Programming - Lesson Exception Handling
Quiz
•
11th Grade - University
15 questions
CMDP2063 Unix and C Programming
Quiz
•
University
10 questions
Arrays in CQuiz
Quiz
•
1st Grade - University
9 questions
g11- Planning and Installing Systems Quiz
Quiz
•
11th Grade - 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
Discover more resources for Information Technology (IT)
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University
5 questions
Helping Build the Internet: Valerie Thomas | Great Minds
Interactive video
•
11th Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
19 questions
Review2-TEACHER
Quiz
•
University
15 questions
Pre2_STUDENT
Quiz
•
University
20 questions
Ch. 7 Quadrilateral Quiz Review
Quiz
•
KG - University
