
Compro. Final1/64 part2
Authored by Watcharin Tangsuksant
Computers
University
Used 11+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
If the mode is "rb" as the initial letter, what does it indicates?
text file
big text file
binary file
blueprint text
skip
2.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What are the C functions used to read or write a file in Text Mode?
fprintf(), fscanf()
fread(), fwrite()
fprint(), fscan()
read(), write()
skip
3.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
When fopen() is not able to open a file, What will be returned?
EOF
NULL
Run-time Error
None of the above
skip
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Where is a data of the file is stored?
Ram
Hard disk
Rom
Buffer
skip
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Which condition is True when it takes a new line?
ch == "\n"
ch == "\r"
ch == "\0"
ch == " "
skip
6.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
To show the string PREdept by the statement: printf("%s\n", str); which one is the invalid declaration?
char str[] = {'P', 'R', 'E', 'd', 'e', 'p', 't', '\0'};
char str[] = "PREdept";
char *str = "PREdept";
char *str = {'P', 'R', 'E', 'd', 'e', 'p', 't', '\0'};
skip
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Please fill in the blank to print out “Friday” on screen?
*day+4
*day[4]
day[4]
*day-4
skip
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
20 questions
Computer Networking
Quiz
•
University
20 questions
Data Structures
Quiz
•
University
20 questions
Programming Concepts in C - Quiz-II
Quiz
•
University
20 questions
FRAMING,Bit Stuffing, PPP,HDLC,
Quiz
•
University
20 questions
PC Building and Setup
Quiz
•
University
20 questions
Osnovne naredbe Pythona A
Quiz
•
10th Grade - University
20 questions
2.2.1 d Procedures and Functions
Quiz
•
University
20 questions
Guess the CS Term!
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