

Introduction to Software Development
Midterm Exam
Course Introduction
Introduction to Software Development offers students a comprehensive overview of the foundational concepts, principles, and practices that underlie the creation of computer software. The course covers the software development lifecycle, including requirements gathering, system design, coding, testing, and maintenance. Students are introduced to common programming paradigms, basic algorithms, and data structures, as well as industry-standard development tools and environments. Emphasis is placed on problem-solving, code organization, team collaboration, and documentation, preparing students for further study and real-world software development projects.
Recommended Textbook
Starting Out with Python 3rd Edition by Tony Gaddis
Available Study Resources on Quizplus
13 Chapters
488 Verified Questions
488 Flashcards
Source URL: https://quizplus.com/study-set/1057

Page 2

Chapter 1: Introduction to Computers and Programming
Available Study Resources on Quizplus for this Chatper
36 Verified Questions
36 Flashcards
Source URL: https://quizplus.com/quiz/20921
Sample Questions
Q1) The _____ coding scheme contains a set of 128 numeric codes that are used to represent characters in the computer memory.
A) Unicode
B) ASCII
C) ENIAC
D) twos complement
Answer: B
Q2) The main reason for using secondary storage is to hold data for long periods of time, even when the power supply to the computer is turned off.
A)True
B)False
Answer: True
Q3) Main memory is commonly known as _______________. Answer: random-access memory or RAM
Q4) _______________ are small central processing unit chips. Answer: Microprocessors
Q5) A disk drive stores data by _______________ encoding it onto a circular disk. Answer: magnetically
To view all questions and flashcards with answers, click on the resource link above. Page 3

Chapter 2: Input, Processing, and Output
Available Study Resources on Quizplus for this Chatper
35 Verified Questions
35 Flashcards
Source URL: https://quizplus.com/quiz/20922
Sample Questions
Q1) When using the camelCase naming convention, the first word of the variable name is written in lowercase letters and the first character of the second and subsequent words are written in uppercase letters.
A)True
B)False
Answer: True
Q2) A(n) _______________ character is a special character that is preceded with a backslash, appearing inside a string literal.
Answer: escape
Q3) When applying the .3f formatting specifier to the following number, 76.15854, the result is _______________.
Answer: 76.159
Q4) The line continuation character is a _____.
A) #
B) % C) & D) \
Answer: D
To view all questions and flashcards with answers, click on the resource link above. Page 4

Chapter 3: Decision Structures and Boolean Logic
Available Study Resources on Quizplus for this Chatper
35 Verified Questions
35 Flashcards
Source URL: https://quizplus.com/quiz/20923
Sample Questions
Q1) Python provides a special version of a decision structure known as the _______________ statement, which makes the logic of the nested decision structure simpler to write.
Answer: if-elif-else
Q2) Decision structures are also known as selection structures.
A)True
B)False
Answer: True
Q3) What does the following expression mean?
X <= y
A) x is less than y
B) x is less than or equal to y
C) x is greater than y
D) x is greater than or equal to y
Answer: B
Q4) The _______________ statement is used to create a decision structure.
Answer: if
Q5) A(n) _______________ expression is made up of two or more Boolean expressions.
Answer: compound
To view all questions and flashcards with answers, click on the resource link above. Page 5

Chapter 4: Repetition Structures
Available Study Resources on Quizplus for this Chatper
34 Verified Questions
34 Flashcards
Source URL: https://quizplus.com/quiz/20924
Sample Questions
Q1) In Python, a comma-separated sequence of data items that are enclosed in a set of brackets is called a _____.
A) sequence
B) variable
C) value
D) list
Q2) A(n) _______________ loop usually occurs when the programmer forgets to write code inside the loop that makes the test condition false.
Q3) The first line in the while loop is referred to as the condition clause.
A)True
B)False
Q4) When will the following loop terminate?
While keep_on_going != 999 :
A) When keep_on_going refers to a value less than 999
B) When keep_on_going refers to a value greater than 999
C) When keep_on_going refers to a value equal to 999
D) When keep_on_going refers to a value not equal to 999
Q5) The acronym _______________ refers to the fact that the computer cannot tell the difference between good data and bad data.
To view all questions and flashcards with answers, click on the resource link above. Page 6

Chapter 5: Functions and Modules
Available Study Resources on Quizplus for this Chatper
69 Verified Questions
69 Flashcards
Source URL: https://quizplus.com/quiz/20925
Sample Questions
Q1) A(n) _____ variable is created inside a function.
A) global
B) constant
C) defined
D) local
Q2) What type of function can be used to determine whether a number is even or odd?
A) even
B) odd
C) math
D) Boolean
Q3) A value-returning function is _____.
A) a single statement that perform a specific task
B) called when you want the function to stop
C) a function that will return a value back to the part of the program that called it
D) a function that receives a value when it is called
Q4) Arguments are passed by _______________ to the corresponding parameter variables in the function.
Q5) The approach of _______________ makes the program easier to understand, test, and maintain.
To view all questions and flashcards with answers, click on the resource link above. Page 7

Chapter 6: Files and Exceptions
Available Study Resources on Quizplus for this Chatper
34 Verified Questions
34 Flashcards
Source URL: https://quizplus.com/quiz/20926
Sample Questions
Q1) What type of file access jumps directly to any piece of data in a file without reading the data that came before it?
A) Sequential
B) Random
C) Number
D) Text
Q2) An exception handler is a piece of code that is written using the try/except statement.
A)True
B)False
Q3) What happens when a piece of data is written to a file?
A) Data is copied from a variable in RAM to a file.
B) Data is copied from a variable in the program to a file.
C) Data is copied from the program to a file.
D) Data is copied from a file object to a file.
Q4) In Python, there is nothing that can be done if the program tries to access a file to read that does not exist.
A)True
B)False
Q5) A(n) _______________ file contains data that has not been converted to text.
Page 8
To view all questions and flashcards with answers, click on the resource link above.

Chapter 7: Lists and Tuples
Available Study Resources on Quizplus for this Chatper
35 Verified Questions
35 Flashcards
Source URL: https://quizplus.com/quiz/20927
Sample Questions
Q1) Tuples are _______________ sequences, which means that once a tuple is created, it cannot be changed.
Q2) What would be the value of the variable list2 after the execution of the following code?
List1 = [1, 2, 3]
List2 = []
For element in list1
List2.append(element)
List1 = [4, 5, 6]
A) [1, 2, 3]
B) [4, 5, 6]
C) [1, 2, 3, 4, 5, 6]
D) invalid code
Q3) What are the data items in the list called?
A) data
B) elements
C) items
D) values
Q4) Lists are _______________, which means their elements can be changed.
Q5) The built-in function _______________ returns the length of a sequence.
To view all questions and flashcards with answers, click on the resource link above. Page 9

Chapter 8: More About Strings
Available Study Resources on Quizplus for this Chatper
35 Verified Questions
35 Flashcards
Source URL: https://quizplus.com/quiz/20928
Sample Questions
Q1) What are the valid indexes for the string 'New York'?
A) 0 through 7
B) 0 through 8
C) -1 through -8
D) -1 through 6
Q2) Which list will be referenced by the variable list_strip after the execution of the following code?
List_string = '03/07/2008'
List_strip = list_string.split('/')
A) ['3', '7', '2008']
B) ['03', '07', '2008']
C) ['3', '/', '7', '/', '2008']
D) ['03', '/', '07', '/', '2008']
Q3) The third number in string slicing brackets represents the _______________ value.
Q4) Strings are _______________, which means that once a string is created, it cannot be changed.
Q5) The _______________ method returns true if the string contains only numeric digits.
Page 10
Q6) The _______________ method returns the list of the words in the string.
To view all questions and flashcards with answers, click on the resource link above.

Chapter 9: Dictionaries and Sets
Available Study Resources on Quizplus for this Chatper
35 Verified Questions
35 Flashcards
Source URL: https://quizplus.com/quiz/20929
Sample Questions
Q1) Which method would you use to return the value associated with a specified key and remove that key-value pair from the dictionary?
A) list
B) items
C) popitem
D) pop
Q2) What is the process used to convert an object to a stream of bytes that can be saved in a file?
A) Pickling
B) Streaming
C) Writing
D) Dumping
Q3) What does the get method do if the specified key is not found in the dictionary?
A) Throw an exception
B) Nothing
C) Return a default value
D) You do not specify a key for the get method
Q4) A(n) _______________ is an object that holds multiple unique items of data in an unordered manner.
To view all questions and flashcards with answers, click on the resource link above. Page 11

Chapter 10: Classes and Object Oriented Programming
Available Study Resources on Quizplus for this Chatper
35 Verified Questions
35 Flashcards
Source URL: https://quizplus.com/quiz/20930
Sample Questions
Q1) In a UML diagram, the middle section holds the list of the class's methods.
A)True
B)False
Q2) An object is a stand-alone program but is used by programs that need its service.
A)True
B)False
Q3) A class might be thought of as a 'blueprint' that an object may be created from.
A)True
B)False
Q4) Which section in the UML holds the list of the class's data attributes?
A) First
B) Second
C) Third
D) Fourth
Q5) A(n) _______________ is code that specifies the data attributes and methods for a particular type of object.
Q6) The _______________ attributes are created by the self parameter and they belong to a specific instance of the class.
Q7) A(n) _______________ method in a class initializes an object's data attributes.
Page 12
To view all questions and flashcards with answers, click on the resource link above.

Chapter 11: Inheritance
Available Study Resources on Quizplus for this Chatper
35 Verified Questions
35 Flashcards
Source URL: https://quizplus.com/quiz/20931
Sample Questions
Q1) What gives a program the ability to call the correct method depending on the type of object that is used to call it?
A) Polymorphism
B) Inheritance
C) Encapsulation
D) Methods
Q2) Base classes are also called _____.
A) superclasses
B) derived
C) subclasses
D) classes
Q3) _____ allows a new class to inherit the members of the class it extends.
A) Encapsulation
B) Domain
C) Methods
D) Inheritance
Q4) _______________ allows subclasses to have methods with the same names as methods in their superclasses.
Q5) A subclass is also called a(n) _______________ class.
Q6) The term _______________ refers to an object's ability to take different forms.
Page 13
To view all questions and flashcards with answers, click on the resource link above.

Chapter 12: Recursion
Available Study Resources on Quizplus for this Chatper
35 Verified Questions
35 Flashcards
Source URL: https://quizplus.com/quiz/20932
Sample Questions
Q1) All the cases of the recursive solution other than the base case are called the _______________ case.
Q2) A recursive function includes _____ which are not necessary in a loop structure.
A) function calls
B) conditional clauses
C) overhead actions
D) object instances
Q3) What is the first step that needs to be taken in order to apply a recursive approach?
A) Identify at least one case in which the problem can be solved without recursion.
B) Determine a way to solve the problem in all other circumstances using recursion.
C) Identify a way to stop the recursion.
D) Determine a way to return to the main function.
Q4) Some problems are _______________ solved with recursion than with a loop.
Q5) Recursive function calls are _______________ efficient than loops.
Q6) Recursive algorithms are more concise and efficient than iterative algorithms.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above.
Page 14

Chapter 13: GUI Programming
Available Study Resources on Quizplus for this Chatper
35 Verified Questions
35 Flashcards
Source URL: https://quizplus.com/quiz/20933
Sample Questions
Q1) In which type of interface is a prompt displayed that allows the user to enter a command, which is then executed?
A) Command line
B) GUI
C) ALU
D) CPU
Q2) Which widget will create an area that displays one line of text or an image?
A) Label
B) Frame
C) Canvas
D) Message
Q3) What are the items that appear on the graphical interface window called?
A) Buttons
B) Icons
C) Widgets
D) Graphical elements
Q4) The pack method determines where a widget should be positioned.
A)True
B)False
Q5) The _______________ widget is used to display text in a window.
Page 15
To view all questions and flashcards with answers, click on the resource link above.