Explore topic-wise MCQs in Python.

This section includes 7 Mcqs, each offering curated multiple-choice questions to sharpen your Python knowledge and support exam preparation. Choose a topic below to get started.

1.

A media file containing audio or video is downloaded and stored on the client’s local file sytem in :

A. progressive download
B. regular download
C. real time streaming
D. virtual time streaming
Answer» B. regular download
2.

If several requests have different deadlines that are relaticely close together, then using the SCAN – EDF algorithm :

A. the SCAN ordering will service the requests in that batch
B. the EDF ordering will service the requests in that batch
C. the FCFS ordering will service the requests in that batch
D. none of the mentioned
Answer» B. the EDF ordering will service the requests in that batch
3.

Disk scheduling includes deciding

A. which should be accessed next
B. order in which disk access requests must be serviced
C. the physical location of the file
D. the logical location of the file
Answer» C. the physical location of the file
4.

File management function of the operating system includesi) File creation and deletion ii) Disk schedulingiii) Directory creation iv) Mapping file in secondary storage

A. i, ii and iii only
B. i, iii and iv only
C. ii, iii and iv only
D. All i, ii, iii and iv
Answer» C. ii, iii and iv only
5.

What is the memory from 1K - 640K called ?

A. Extended Memory
B. Normal Memory
C. Low Memory
D. Conventional Memory
Answer» E.
6.

TO_READ_THE_REMAINING_LINES_OF_THE_FILE_FROM_A_FILE_OBJECT_INFILE,_WE_USE?$

A. infile.read(2)
B. infile.read()
C. infile.readline()
D. infile.readlines()
Answer» C. infile.readline()
7.

To read the next line of the file from a file object infile, we us?

A. infile.read(2)
B. infile.read()
C. infile.readline()
D. infile.readlines()
Answer» E.