
CBSE Class 12 Computer Science Quiz
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Medium
Shabnam pusa
Used 4+ times
FREE Resource
Enhance your content in a minute
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the extension of a Python text file?
.pyc
.doc
.txt
.exe
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to open a file in Python?
fileopen()
openfile()
open()
fopen()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does 'r' mode signify in open()?
Read and Write
Append
Read only
None
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to close a file f?
close(f)
f.close()
f.close
fclose(f)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a valid file mode?
'rb'
'wr'
'a+'
'w'
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function reads the entire content of the file?
readfile()
read()
readline()
readall()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is returned by the write() method?
Boolean
Number of bytes
File name
Nothing
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
17 questions
Email Lớp 6
Quiz
•
6th Grade - University
10 questions
ICT as Social Change
Quiz
•
12th Grade
10 questions
การสร้างสื่อดิจิตอล Quiz
Quiz
•
9th - 12th Grade
10 questions
HTML & Google Site Seatwork
Quiz
•
12th Grade
15 questions
1.1 Computer Systems Essential Knowledge
Quiz
•
9th - 12th Grade
13 questions
Instalacion de Equipos #1
Quiz
•
9th Grade - University
18 questions
Quiz sobre Entornos Virtuales de Aprendizaje
Quiz
•
12th Grade
12 questions
ICT Computer Basics pt1
Quiz
•
10th - 12th Grade
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
