Questions (541)

# Question Topic Actions
1
According to the document, what is the primary difference between indexing
Advanced Text Processing View
2
Given the Python code snippet:
word = "Python"
print(word[0:2])
W…
Advanced Text Processing View
3
What is the result of the following Python string slice:
word = "Python"
                            
Advanced Text Processing View
4
Which Python slicing shortcut starts from index 0 and extracts characters up to…
Advanced Text Processing View
5
If you use the slicing shortcut `[start:]` with the string 'Python', such as `"…
Advanced Text Processing View
6
What is the primary purpose of using negative slicing limits in Python?
Advanced Text Processing View
7
Given `filename = "report.txt"`, what will `filename[-4:]` produce as output?
Advanced Text Processing View
8
What is the recommended modern Python feature for dynamically injecting values …
Advanced Text Processing View
9
Given `name = "Tolani"` and `score = 85`, what will be the output of `print(f"H…
Advanced Text Processing View
10
Which of the following string methods converts all characters in a string to up…
Advanced Text Processing View
11
What does the `.strip()` string method primarily do?
Advanced Text Processing View
12
If you have the string `text = "a,b"` and you apply the method `text.split(",")…
Advanced Text Processing View
13
What does it mean for strings to be immutable in Python?
Advanced Text Processing View
14
Why does `name[0] = "J"` result in a `TypeError` when `name = "Python"`?
Advanced Text Processing View
15
When a Python string method like `.upper()` is called on a string, what is the …
Advanced Text Processing View
16
What is the primary purpose of programming as described in the lecture?
introduction to programming View
17
An Algorithm is defined as:
introduction to programming View
18
Which of the following best describes a Programming Language?
introduction to programming View
19
According to the lecture, which of the following is one of the five basic progr…
introduction to programming View
20
The main aim of the Software Development Life Cycle (SDLC) is to:
introduction to programming View
21
Which characteristic is unique to 1st Generation Languages (1GL)?
introduction to programming View
22
Assembly Languages (2GL) are characterized by:
introduction to programming View
23
A key characteristic of 3rd Generation Languages (3GL) is that they:
introduction to programming View
24
What is a primary advantage of 4th Generation Languages (4GL)?
introduction to programming View
25
5th Generation Languages (5GL) are closely associated with:
introduction to programming View
26
Which of the following is an example of a 3rd Generation Language (3GL) …
introduction to programming View
27
A programming language typically consists of:
introduction to programming View
28
Which of these is NOT an activity involved in programming?
introduction to programming View
29
Which of the following is listed as one of the most popular programming lang…
introduction to programming View
30
Why is Python considered one of the best languages for beginners?
introduction to programming View
31
Which of the following is a main drawback of the first generation programming l…
introduction to programming View
32
What is a key characteristic of third-generation programming languages (3GL)?
introduction to programming View
33
Which of the following is an example of a 4th Generation Language (4GL) mention…
introduction to programming View
34
Which of the following applications is associated with Fifth Generation Languag…
introduction to programming View
35
According to the document, which of the following is NOT an activity involved i…
introduction to programming View
36
What are the five basic programming elements identified in the document?
introduction to programming View
37
What is the stated purpose of the 'Def' statement in the provided table of prog…
introduction to programming View
38
Which of the following best describes the primary goal of the Software Developm…
introduction to programming View
39
A significant deficiency of the Waterfall Model is that it often leads to 'one …
introduction to programming View
40
Which of the following is a strength of the V-Shaped SDLC Model?
introduction to programming View
41
A weakness of the Structured Evolutionary Prototyping Model, often referred to …
introduction to programming View
42
What is a key benefit of the 'Time-box approach' used in the Rapid Application …
introduction to programming View
43
A significant weakness of the Incremental Model is the requirement for 'well-de…
introduction to programming View
44
In the 'Develop next-level product' quadrant of the Spiral Model, which of the …
introduction to programming View
45
What is the first principle of the Dynamic Systems Development Method (DSDM) me…
introduction to programming View
46
Which of the following is considered a strength of the Waterfall Model?
introduction to programming View
47
A key deficiency of the Waterfall Model is that:
introduction to programming View
48
When is it most appropriate to use the Waterfall Model?
introduction to programming View
49
What is a distinguishing characteristic of the V-Shaped SDLC Model compa…
introduction to programming View
50
Which of the following is a strength of the V-Shaped Model?
introduction to programming View
51
A weakness of the V-Shaped Model is that it:
introduction to programming View
52
The Rapid Application Development (RAD) Model's 'User description phase'…
introduction to programming View
53
A key strength of the RAD Model is its:
introduction to programming View
54
Which of the following is a weakness of the RAD Model?
introduction to programming View
55
What is a characteristic approach of the Incremental SDLC Model?
introduction to programming View
56
A strength of the Incremental Model is that it:
introduction to programming View
57
The Spiral SDLC Model is distinct from the Waterfall Model by primarily …
introduction to programming View
58
Which of the following is a weakness of the Spiral Model?
introduction to programming View
59
The Dynamic Systems Development Method (DSDM) is primarily guided by the…
introduction to programming View
60
Which of the following elements should be considered in a Quality Assurance …
introduction to programming View
61
According to the document, what is the primary aim of the Software Development …
introduction to programming View
62
Which of the following is NOT listed as a core component (phase) recommended fo…
introduction to programming View
63
One of the key strengths of the Waterfall Model, as described in the document, …
introduction to programming View
64
What is a significant deficiency of the Waterfall Model mentioned in the docume…
introduction to programming View
65
When is the Waterfall Model an appropriate choice for a project, according to t…
introduction to programming View
66
What is a defining characteristic of the V-Shaped SDLC Model?
introduction to programming View
67
A strength of the V-Shaped Model is that it:
introduction to programming View
68
Which of the following is a weakness of the V-Shaped Model?
introduction to programming View
69
In the Structured Evolutionary Prototyping Model, what is a key activity perfor…
introduction to programming View
70
A strength of the Structured Evolutionary Prototyping Model is that it:
introduction to programming View
71
A weakness of the Structured Evolutionary Prototyping Model is that the process…
introduction to programming View
72
What is a key strength of the Rapid Application Model (RAD) described in the do…
introduction to programming View
73
Which of the following is a strength of the Incremental Model?
introduction to programming View
74
In the Spiral SDLC Model, what activity is typically performed in the 'Evaluate…
introduction to programming View
75
According to the Quality Assurance Plan section, which of the following is an e…
introduction to programming View
76
According to the document, what is the primary role of decision making in progr…
If staments View
77
Which keyword is used in Python to begin a decision-making process, as mentione…
If staments View
78
What is the correct ending for the condition line of an if stateme…
If staments View
79
What is crucial for Python to understand which code belongs to an if
If staments View
80
Consider the following Python code snippet:
if score >= 50:
…
If staments View
81
What is the primary purpose of the else clause in an if-else…
If staments View
82
Which of the following relational operators means 'Equal To' in Python?
If staments View
83
In Python, what is the crucial difference between the operators = …
If staments View
84
According to the 'Visualize the Flow' section, what does a diamond shape repres…
If staments View
85
What would be the output of the following Python code?
temp = 32
if…
If staments View
86
If you want to check if an account balance is enough to withdraw ₦5,000, which …
If staments View
87
In the ATM Transaction example (Page 4), what action is taken if the condition …
If staments View
88
What is considered a common syntax error in Python if statements, …
If staments View
89
Which of the following describes the type of result a condition in an if<…
If staments View
90
According to the 'The "If" Syntax' slide, what is the mandatory punctuation mar…
If staments View
91
What is the primary purpose of indentation in Python `if` statements?
If staments View
92
When is the `else` clause executed in an `if-else` structure?
If staments View
93
Which of the following relational operators correctly checks if two values are …
If staments View
94
In Python, which keyword is used when you have *more than two options* for deci…
If staments View
95
What is the result of the expression `18 >= 18` using the 'Greater than or Equa…
If staments View
96
Which Python code snippet correctly performs a *comparison* to check if the `ag…
If staments View
97
In an `if-elif-else` structure, how does Python determine which block of code t…
If staments View
98
What is the expected output for the following Python code snippet provided in t…
If staments View
99
What will be the output of the following code snippet from the 'Classroom Activ…
If staments View
100
Predict the output of this Python code snippet from the 'Classroom Activity':
If staments View