Compro. Final1/64 part2

Quiz
•
Computers
•
University
•
Medium
Watcharin Tangsuksant
Used 11+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
kamala_bec

Quiz
•
University
20 questions
AlgoProg - Review Quiz

Quiz
•
University
20 questions
EST102 : PROGRAMMING IN C TEST 1

Quiz
•
University
20 questions
byte fusion

Quiz
•
University
25 questions
Sharda fest 2024

Quiz
•
University
20 questions
Challenging C Programming Concepts

Quiz
•
University
20 questions
C-QUEST QUIZ BEE

Quiz
•
University
25 questions
Ctrl+Solve

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University