Search Header Logo

BGMC4513 202305 End Semester Quiz

Authored by Jia Jan Ong

Education

University

Used 1+ times

BGMC4513 202305 End Semester Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 10 pts

Which of following is NOT the sequence of phases used in the software life cycle in the waterfall model?

Setup/Installation


Testing/Verification

Design

Requirement
Analysis

Maintenance

2.

MULTIPLE CHOICE QUESTION

45 sec • 10 pts

Which of the following is NOT the fundamental data types in Python?

Text

Dictionary

Numeric

Text

3.

MULTIPLE CHOICE QUESTION

45 sec • 10 pts

What is CORRECT way to open files for reading data only in the Python programme.

outfile = open("lengthpart.dat", "w")

infile = open("mydata.dat", "r")

infile = open("lengthpart.dat", "a")

Click on Menu Bar "File->Open File" options.

4.

MULTIPLE CHOICE QUESTION

45 sec • 10 pts

What is CORRECT way to open files for writing data for a new file only in the Python programme.

outfile = open("lengthpart.dat", "w")

infile = open("mydata.dat", "r")

infile = open("lengthpart.dat", "a")

Click on Menu Bar "File->Open File" options.

5.

MULTIPLE SELECT QUESTION

45 sec • 10 pts

What is CORRECT way to close the file after it is not use the Python programme?
Assuming that outfile and infile is the file pointer.

outfile.close()

infile.flush()

outfile.flush()

infile.close()

6.

MULTIPLE CHOICE QUESTION

45 sec • 10 pts

Media Image

What type of button shown in the image?

Normal buttons

Check buttons

Radio buttons

Labels

7.

MULTIPLE CHOICE QUESTION

45 sec • 10 pts

Media Image

What type of GUI is this?

Frame widget

Label

Info dialog box

Entry

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?