Computer Science Quiz 2

Computer Science Quiz 2

Difficulty Level: Easy
10 Questions

Popular Questions InComputer Science Quiz 2

1

What is the significance of the tell() method?

2

Which of the following statement is true?

3

Syntax of seek function in Python is myfile.seek(offset, reference_point) where myfile is the file object. What is the default value of reference_point?

4

Which of the following components are part of a function header in Python?

5

Which of the following function header is correct?

6

Which of the following is the correct way to call a function?

7

Which of the following character acts as default delimiter in a csv file?

8

What is the correct expansion of CSV files?

9

Syntax for opening Student.csv file in write mode is myfile = open("Student.csv","w",newline='').

What is the importance of newline=''?

10

Which of the following is not a function / method of csv module in Python?