Objective Questions
All objective questions for COS 102
Questions (541)
| # | Question | Topic | Actions |
|---|---|---|---|
| 401 |
What does the arithmetic operator '//' represent in Python?
|
lecture 4 | View |
| 402 |
Which Python function converts a numeric value to an integer, truncating the de…
|
lecture 4 | View |
| 403 |
What characteristic describes Python as a programming language that uses concis…
|
lecture 4 | View |
| 404 |
Who created Python in 1989, establishing it as an object-oriented programming l…
|
lecture 4 | View |
| 405 |
Which of the following is NOT listed as a Machine Learning library or framework…
|
lecture 4 | View |
| 406 |
According to the document, which of these is a Python framework specifically fo…
|
lecture 4 | View |
| 407 |
What makes Python 'Highly portable' as described in the document?
|
lecture 4 | View |
| 408 |
Python is described as 'Efficient and fast' primarily because:
|
lecture 4 | View |
| 409 |
In Python, what is the purpose of using quotation marks?
|
lecture 4 | View |
| 410 |
How does Python's handling of variables differ significantly from languages lik…
|
lecture 4 | View |
| 411 |
What is the special symbol used in Python to assign values to variable names?
|
lecture 4 | View |
| 412 |
Consider the Python code:
x = 5, y = "John"…
|
lecture 4 | View |
| 413 |
Which of the following is listed as a 'Binary type' in Python's standard data t…
|
lecture 4 | View |
| 414 |
Which Python numerical type can also be represented in octal and hexadecimal fo…
|
lecture 4 | View |
| 415 |
What does the
// operator perform in Python?
|
lecture 4 | View |
| 416 |
When using
int(x) for integer conversion in Python, what happens t…
|
lecture 4 | View |
| 417 |
What is a Python statement, according to the document?
|
lecture 4 | View |
| 418 |
How can a long Python statement be broken over multiple lines using the pref…
|
lecture 4 | View |
| 419 |
According to the document, what is the primary purpose of variables in Python?
|
lecture 4 | View |
| 420 |
How does Python's approach to variable declaration differ significantly from la…
|
lecture 4 | View |
| 421 |
Which statement best describes how a variable is created in Python?
|
lecture 4 | View |
| 422 |
What is the function of the '=' symbol in Python, as described in the context o…
|
lecture 4 | View |
| 423 |
When Python executes the statement
my_variable = 10, what does thi…
|
lecture 4 | View |
| 424 |
When using the
print statement to combine both text and a variable…
|
lecture 4 | View |
| 425 |
According to the document, what is the outcome if you attempt to combine a stri…
|
lecture 4 | View |
| 426 |
Why is the concept of data types important in programming, according to the doc…
|
lecture 4 | View |
| 427 |
Which of the following is NOT listed as one of the standard data type ca…
|
lecture 4 | View |
| 428 |
Which of these is explicitly listed as one of the four numerical types supporte…
|
lecture 4 | View |
| 429 |
What arithmetic operation does the
// operator perform in Python?
|
lecture 4 | View |
| 430 |
When using Python's
int(x) function for numeric conversion, how is…
|
lecture 4 | View |
| 431 |
What is the result type of the
round(x) function in Python, as des…
|
lecture 4 | View |
| 432 |
What is the primary purpose of 'Programming' as defined in the context of compu…
|
2 lecture week 3 | View |
| 433 |
According to the document, what must a person do with an algorithm to make it e…
|
2 lecture week 3 | View |
| 434 |
What is a 'Programming Language' essentially described as in the document?
|
2 lecture week 3 | View |
| 435 |
What is a key characteristic of First Generation Languages (1GL), also known as…
|
2 lecture week 3 | View |
| 436 |
Which of the following is a primary feature of Second Generation Languages (2GL…
|
2 lecture week 3 | View |
| 437 |
What is required to convert a Third Generation Language (3GL) program into mach…
|
2 lecture week 3 | View |
| 438 |
A significant advantage of Fourth Generation Languages (4GL) mentioned in the d…
|
2 lecture week 3 | View |
| 439 |
Fifth Generation Languages (5GL) are primarily associated with the development …
|
2 lecture week 3 | View |
| 440 |
Which of the following is not listed as an activity involved in 'Program…
|
2 lecture week 3 | View |
| 441 |
How many basic programming elements are explicitly identified in the document?
|
2 lecture week 3 | View |
| 442 |
Which of the following is not listed as one of the five basic programmin…
|
2 lecture week 3 | View |
| 443 |
What is the process of collecting requirements, analyzing a problem, designing …
|
2 lecture week 3 | View |
| 444 |
What is the stated purpose of the 'Print' statement in the programming statemen…
|
2 lecture week 3 | View |
| 445 |
What is the primary function of an 'if...else' statement in programming, accord…
|
2 lecture week 3 | View |
| 446 |
Which statement best describes how programming languages work, according to the…
|
2 lecture week 3 | View |
| 447 |
Which of the following terms is also used to refer to SDLC models, emphasizing …
|
2 lecture week 3 | View |
| 448 |
A key deficiency of the Waterfall Model is that deliverables created for each p…
|
2 lecture week 3 | View |
| 449 |
Which of the following is highlighted as a strength of the V-Shaped SDLC Model?
|
2 lecture week 3 | View |
| 450 |
For what type of systems is the V-Shaped Model considered an excellent choice?
|
2 lecture week 3 | View |
| 451 |
In the Structured Evolutionary Prototyping Model, what happens when the user is…
|
2 lecture week 3 | View |
| 452 |
Which of the following is a weakness of the Structured Evolutionary Prototyping…
|
2 lecture week 3 | View |
| 453 |
In the Rapid Application Model (RAD), which phase includes the use of productiv…
|
2 lecture week 3 | View |
| 454 |
A significant strength of the RAD model, according to the document, is its appr…
|
2 lecture week 3 | View |
| 455 |
The Incremental SDLC Model's core characteristic involves:
|
2 lecture week 3 | View |
| 456 |
When is the Incremental Model particularly useful regarding project requirement…
|
2 lecture week 3 | View |
| 457 |
In the Spiral SDLC Model, what type of activity is 'Develop a test plan' catego…
|
2 lecture week 3 | View |
| 458 |
What is a significant weakness of the Spiral Model, especially for small or low…
|
2 lecture week 3 | View |
| 459 |
According to the DSDM Principles, what is a key aspect of active user involveme…
|
2 lecture week 3 | View |
| 460 |
How is 'Quality' defined in the document with respect to software?
|
2 lecture week 3 | View |
| 461 |
Which of the following is listed as an element to be considered by the Quality …
|
2 lecture week 3 | View |
| 462 |
According to the document, which of the following is a key deficiency of the Wa…
|
2 lecture week 3 | View |
| 463 |
A key strength of the V-Shaped Model is its emphasis on planning for verificati…
|
2 lecture week 3 | View |
| 464 |
For which type of system is the V-Shaped Model considered an excellent choice, …
|
2 lecture week 3 | View |
| 465 |
One of the weaknesses of the Structured Evolutionary Prototyping Model is the t…
|
2 lecture week 3 | View |
| 466 |
What is a key strength of the Rapid Application Development (RAD) model concern…
|
2 lecture week 3 | View |
| 467 |
What is a described weakness of the Rapid Application Development (RAD) model w…
|
2 lecture week 3 | View |
| 468 |
A strength of the Incremental Model is related to initial product delivery. Wha…
|
2 lecture week 3 | View |
| 469 |
What is a requirement for the Incremental Model regarding module interfaces tha…
|
2 lecture week 3 | View |
| 470 |
When is the Incremental Model particularly suitable for a project, according to…
|
2 lecture week 3 | View |
| 471 |
In the "Evaluate alternatives, identify and resolve risks" quadrant of the Spir…
|
2 lecture week 3 | View |
| 472 |
A significant strength of the Spiral Model is its ability to provide early warn…
|
2 lecture week 3 | View |
| 473 |
According to the DSDM Principles, what characteristic must all changes made dur…
|
2 lecture week 3 | View |
| 474 |
Agile SDLCs are generally characterized by which of the following regarding the…
|
2 lecture week 3 | View |
| 475 |
In Extreme Programming (XP), what activity is highlighted as the key activit…
|
2 lecture week 3 | View |
| 476 |
As per the document's description of a Quality Assurance Plan, which activity i…
|
2 lecture week 3 | View |
| 477 |
Which generation of programming languages is characterized by the use of binary…
|
2 lecture week 3 | View |
| 478 |
Third-generation programming languages (3GL) introduced several programmer-frie…
|
2 lecture week 3 | View |
| 479 |
Fourth-generation languages (4GL) are designed to be closer to natural human la…
|
2 lecture week 3 | View |
| 480 |
Which of the following is a key characteristic of the 5th Generation Language (…
|
2 lecture week 3 | View |
| 481 |
What is one of the primary deficiencies of the Waterfall Model in software deve…
|
2 lecture week 3 | View |
| 482 |
When is the Waterfall Model an excellent choice for a project?
|
2 lecture week 3 | View |
| 483 |
A significant strength of the V-Shaped SDLC Model is that it:
|
2 lecture week 3 | View |
| 484 |
Under what circumstance would the Structured Evolutionary Prototyping Model be …
|
2 lecture week 3 | View |
| 485 |
Which of the following is considered a strength of the Rapid Application Model …
|
2 lecture week 3 | View |
| 486 |
What is a characteristic of the Incremental SDLC Model?
|
2 lecture week 3 | View |
| 487 |
A distinguishing feature of the Spiral SDLC Model compared to the Waterfall Mod…
|
2 lecture week 3 | View |
| 488 |
Which of the following is NOT an advantage of the Spiral Model?
|
2 lecture week 3 | View |
| 489 |
What is a core principle of the Dynamic Systems Development Method (DSDM)?
|
2 lecture week 3 | View |
| 490 |
Extreme Programming (XP) is an Agile method primarily focused on:
|
2 lecture week 3 | View |
| 491 |
Which of the following is an element that should be considered as part of a Qua…
|
2 lecture week 3 | View |
| 492 |
Which of the following is NOT an essential characteristic of a well-defined alg…
|
test topic | View |
| 493 |
In standard flowcharting conventions, which symbol represents a decision or bra…
|
test topic | View |
| 494 |
What is the primary role of a parallelogram in a standard system or program flo…
|
test topic | View |
| 495 |
What is the decimal equivalent of the unsigned binary value 110101_2?
|
test topic | View |
| 496 |
In an 8-bit signed two's complement representation, what is the value of the bi…
|
test topic | View |
| 497 |
During which phase of the machine cycle is an instruction decoded into control …
|
test topic | View |
| 498 |
Which translation system converts high-level source code entirely into native m…
|
test topic | View |
| 499 |
Consider the integer division expression: `17 / 4` in a C-based syntax environm…
|
test topic | View |
| 500 |
What does the modulo operator (`%`) return when evaluating `29 % 6`?
|
test topic | View |