
PRf192
Authored by HE191251 Đỗ Quốc Dũng
others
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
80 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which code line is incorrect?
A. putchar('a');
B. putchar(65);
C. None of the others
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will print when the sample code below is executed? int main(){ int a = 3, b,c; b = a = 10; c = a < 10; printf("a = %d, b = %d, c = %d", a,b,c); return 0; }
A. a=10, b=10, c=0
B. a=10, b=10, c=10
C. a=3, b= 10, c=10
D. a=10, b=0, c=0
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements is correct regarding the Von Neumann architecture?
A. It refers to "fixed-program computers"
B. It refers to "stored-program computers"
C. It takes a lot of time and effort to reconfigure the computer to perform a new task
D. It separates the storage and treatment of CPU instructions and data
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the INCORRECT statement?
A. Input to a program may be unbuffered or buffered.
B. In the buffered input, the program can respond to each and every keystroke directly.
C. Buffered input enables data editing before submission to a program.
D. A buffer is a region of memory that collects and holds data temporarily.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is not used to read from a file?
A. fprintf
B. fgetc
C. fgets
D. fscanf
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct definition of an array?
A. An array is a collection of different data types spread throughout the memory
B. An array is a collection of the same data type spread throughout the memory
C. An array is the collection of the same data type located next to each other in the memory
D. An array is the collection of different data types located next to each other in the memory
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A string is a ... array of characters terminated by a null('\0').
A. one-dimensional
B. two-dimensional
C. non-dimensional
D. None of the others
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?