
202401 BGMC4513 End Semester Quiz
Authored by Jia Jan Ong
Education
University
Used 1+ times

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
30 sec • 10 pts
Which of the following DOES NOT describe correctly about "tuple" data type in Python?
It is immutable.
Sequence similar to list but enclose items in parenthesis.
Individual elements of tuple can be reference by using an index value.
Data created in tuple can be modified.
2.
MULTIPLE SELECT QUESTION
45 sec • 10 pts
What which of the following CORRECTLY describe the Deterministic Model?
The model has some uncertainty implemented with random variables.
Most of the real system modelled usually include properties that are random.
The model exhibits a complete predictable behaviour.
Car-wash system with cars arrive at exact specific instants and have same exact specified service periods.
Car-wash system with varying car arrivals and varying service demand.
3.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Which of the following is NOT the data structure used in Python?
Tuple
List
Dictionaries
String
Struct
4.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Which of the following is NOT the function of a Radio Button.
It has small square that is ticked when selected.
It can be selected or deselected.
It has a small circle that appears filled in when it is selected.
Only one Radio Button can be selected.
5.
MULTIPLE SELECT QUESTION
45 sec • 10 pts
Which of the following CORRECTLY describe the function of a Check Button.
It can be selected or deselected.
It has a small circle that appears filled in when it is selected.
Can select any or all of the check buttons that are in a group.
Only one Check Button can be selected.
6.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Which particular tkinter module is used when describing the Radio Buttons or Check Buttons?
class StringVar
class IntVar
class FloatVar
class BoolVar
7.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
What is CORRECT way to open files for reading data only in the Python programme.
infile = open("lengthpart.dat", "a")
outfile = open("lengthpart.dat", "w")
infile = open("mydata.dat", "r")
Click on Menu Bar "File->Open File" options.
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?