
DEBUGGING
Authored by VéLmUruKàN MàThí
Computers, Other, Education
University
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
26 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. What is the output of the following program?
#include<stdio.h>
main()
{
fprintf(stdout,"Hello, World!");
}
A . Hello, World!
B. No output
C . Compile error
D . Runtime error
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2.What is the output of the following program?
#include<stdio.h>
int main();
void main()
{
printf("Okay");
}
A . Okay
B. No output
C . Compile error. We can not declare main() function.
D. Compile error. Mismatch in declaration & definition.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3- Which scanf() statement will you use to scan a float value (a) and double value (b)?
Float a;
Double b;
A. scanf("%f %f", &a, &b);
B. scanf("%lf % lf ", &a, &b);
C. scanf("%Lf %Lf", &a, &b);
D. scanf("%f %lf", &a, &b);
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4 - An operation with only one operand is called unary operation.
A . Yes
B . An operation with two operand is called unary operation
C . An operation with unlimited operand is called unary operation
D. None of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5 - Choose the function that is most appropriate for reading in a multi-word string?
A. strnset()
B. scanf()
C. strchr()
D. gets()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6. What is the correct value to return to the operating system upon the successful completion of a program?
A. -1
B. 1
C.0
D. Programs do not return a value
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7. Which of the following is a correct comment?
A. */ Comments */
B. ** Comment **
C. /* Comment */
D. { Comment }
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
23 questions
Electronica
Quiz
•
University
21 questions
Quiz de Habilidades Sociales
Quiz
•
2nd Grade - University
21 questions
Examen
Quiz
•
University
22 questions
quiz 1
Quiz
•
University
24 questions
FUN LEARNING CHAPTER 5 & 8
Quiz
•
University
25 questions
ARTICULACIONES MIMEBRO INFERIOR
Quiz
•
University
21 questions
CPA MS-Office Hotkeys Quiz
Quiz
•
8th Grade - Professio...
22 questions
Guía DHC -1er Trimestre; 3er Grado
Quiz
•
1st Grade - University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Computers
8 questions
2 Step Word Problems
Quiz
•
KG - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
10 questions
14.2 Independent/Dependent Variables
Quiz
•
KG - University
18 questions
Great Lakes States
Quiz
•
KG - University
7 questions
DNA, Chromosomes, Genes, and Traits: An Intro to Heredity
Interactive video
•
11th Grade - University
7 questions
Reflexive Verbs in Spanish
Lesson
•
9th Grade - University
7 questions
Narrative Writing 1
Interactive video
•
4th Grade - University