

Introduction to Software Development
Mock Exam
Course Introduction
Introduction to Software Development provides students with a foundational understanding of how computer software is designed, implemented, and tested. The course covers essential programming concepts, coding best practices, problem-solving strategies, and the software development lifecycle. Students will learn to write code in a modern programming language, work with version control, and apply basic software engineering principles to develop simple applications. Emphasis is placed on collaborative work, debugging techniques, and ethical considerations in software development, preparing students for further study and real-world programming challenges.
Recommended Textbook
Starting Out with Python 4th Edition by Tony Gaddis
Available Study Resources on Quizplus
13 Chapters
533 Verified Questions
533 Flashcards
Source URL: https://quizplus.com/study-set/2419

Page 2

Chapter 1: Introduction to Computers and Programming
Available Study Resources on Quizplus for this Chatper
39 Verified Questions
39 Flashcards
Source URL: https://quizplus.com/quiz/48072
Sample Questions
Q1) A __________ has no moving parts and operates faster than a traditional disk drive.
A) DVD drive
B) solid state drive
C) jumper drive
D) hyper drive
Answer: B
Q2) The instruction set for a microprocessor is unique and is typically understood only by the microprocessors of the same brand.
A)True
B)False
Answer: True
Q3) The following is an example of an instruction written in which computer language? 10110000
A) Assembly language
B) Java
C) machine language
D) C#
Answer: C
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
40 Verified Questions
40 Flashcards
Source URL: https://quizplus.com/quiz/48073
Sample Questions
Q1) When using the camelCase naming convention,the first word of the variable name is written in lowercase and the first characters of all subsequent words are written in uppercase.
A)True
B)False
Answer: True
Q2) Select all that apply. Which of the following are steps in the program development cycle?
A) design the program
B) write the code and correct syntax errors
C) test the program
D) correct logic errors
Answer: A,B,C,D
Q3) In Python,math expressions are always evaluated from left to right,no matter what the operators are.
A)True
B)False
Answer: False
Q4) When the + operator is used with two strings,it performs string __________.
Answer: concatenation

Page 4
To view all questions and flashcards with answers, click on the resource link above.

Chapter 3: Decision Structures and Boolean Logic
Available Study Resources on Quizplus for this Chatper
40 Verified Questions
40 Flashcards
Source URL: https://quizplus.com/quiz/48074
Sample Questions
Q1) A(n)__________ operator determines whether a specific relationship exists between two values.
Answer: relational
Q2) The Python language is not sensitive to block structuring of code.
A)True
B)False
Answer: False
Q3) When using the __________ logical operator,one or both of the subexpressions must be true for the compound expression to be true.
A) or
B) and C) not
D) maybe
Answer: A
Q4) Nested decision statements are one way to test more than one condition.
A)True
B)False
Answer: True
Q5) The logical __________ operator reverses the truth of a Boolean expression.
Answer: not
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
41 Verified Questions
41 Flashcards
Source URL: https://quizplus.com/quiz/48075
Sample Questions
Q1) In Python,a comma-separated sequence of data items that are enclosed in a set of brackets is called
A) sequence
B) variable
C) value
D) list
Q2) A good way to repeatedly perform an operation is to write the statements for the task once and then place the statements in a loop that will repeat as many times as necessary.
A)True
B)False
Q3) In a nested loop,the inner loop goes through all of its iterations for each iteration of the outer loop.
A)True
B)False
Q4) A(n)__________ validation loop is sometimes called an error trap or an error handler.
Q5) A(n)__________ total is a sum of numbers that accumulates with each iteration of the loop.
Page 6
Q6) A(n)___________ structure causes a set of statements to execute repeatedly.
To view all questions and flashcards with answers, click on the resource link above.

Chapter 5: Functions
Available Study Resources on Quizplus for this Chatper
66 Verified Questions
66 Flashcards
Source URL: https://quizplus.com/quiz/48076
Sample Questions
Q1) Python comes with __________ functions that have already been prewritten for the programmer.
A) standard
B) library
C) custom
D) key
Q2) The function header marks the beginning of the function definition.
A)True
B)False
Q3) Functions that are in the standard library are stored in files that are known as
Q4) A value-returning function has a(n)___________ statement that sends a value back to the part of the program that called it.
Q5) A value-returning function is
A) a single statement that performs 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 called
Q6) A variable is available only to statements in the variable's __________.
Page 7
To view all questions and flashcards with answers, click on the resource link above.

Chapter 6: Files and Exceptions
Available Study Resources on Quizplus for this Chatper
40 Verified Questions
40 Flashcards
Source URL: https://quizplus.com/quiz/48077
Sample Questions
Q1) What is the process of retrieving data from a file called?
A) retrieving data
B) reading data
C) reading input
D) getting data
Q2) The ZeroDivisionError exception is raised when the program attempts to perform the calculation x/y if y = 0.
A)True
B)False
Q3) Given that the customer file references a file object,and the file was opened using the 'w' mode specifier,how would you write the string 'Mary Smith' to the file?
A) customer file.write('Mary Smith')
B) customer.write('w', 'Mary Smith')
C) customer.input('Mary Smith')
D) customer.write('Mary Smith')
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
To view all questions and flashcards with answers, click on the resource link above. Page 8

Chapter 7: Lists and Tuples
Available Study Resources on Quizplus for this Chatper
40 Verified Questions
40 Flashcards
Source URL: https://quizplus.com/quiz/48078
Sample Questions
Q1) A list cannot be passed as an argument to a function.
A)True
B)False
Q2) The built-in function __________ returns the length of a sequence.
Q3) The __________ exception is raised when a search item is not in the list being searched.
Q4) A(n)___________ is a span of items that are taken from a sequence.
Q5) The __________ method reverses the order of the items in a list.
Q6) To add a descriptive label to the X and Y axes of a graph when using the matplotlib package,you need to import the labels module.
A)True
B)False
Q7) Which method can be used to convert a tuple to a list?
A) append
B) tuple
C) insert
D) list
Q8) The __________ package is a library you can use in Python to create two-dimensional charts and graphs.
Page 9
Q9) A(n)__________ is an object that holds multiple items of data.
To view all questions and flashcards with answers, click on the resource link above.
Page 10

Chapter 8: More About Strings
Available Study Resources on Quizplus for this Chatper
37 Verified Questions
37 Flashcards
Source URL: https://quizplus.com/quiz/48079
Sample Questions
Q1) The __________ method returns True if the string contains only numeric digits.
Q2) When accessing each character in a string,such as for copying purposes,you would typically use a while loop.
A)True
B)False
Q3) If the + operator is used on strings,it produces a string that is a combination of the two strings used as its operands.
A)True
B)False
Q4) 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
Q5) What is the return value of the string method lstrip()?
A) the string with all whitespaces removed
B) the string with all leading whitespaces removed
C) the string with all leading tabs removed
D) the string with all leading spaces removed
Q6) The __________ method returns the list of the words in a string.
Page 11
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
39 Verified Questions
39 Flashcards
Source URL: https://quizplus.com/quiz/48080
Sample Questions
Q1) What is the number of the first index in a dictionary?
A) 0
B) 1
C) the size of the dictionary minus one
D) Dictionaries are not indexed by number.
Q2) The set remove and discard methods behave differently only when a specified item is not found in the set.
A)True
B)False
Q3) What will be the result of the following code?
Ages = {'Aaron' : 6,'Kelly' : 3,'Abigail' : 1 }
Value = ages['Brianna']
A) False
B) -1
C) 0
D) KeyError
Q4) A(n)__________ is an object that holds multiple unique items of data in an unordered manner.
Q5) To write an object to a file,you use the __________ function of the __________ module.
To view all questions and flashcards with answers, click on the resource link above. Page 12

Chapter 10: Classes and Object-Oriented Programming
Available Study Resources on Quizplus for this Chatper
38 Verified Questions
38 Flashcards
Source URL: https://quizplus.com/quiz/48081
Sample Questions
Q1) Which is the first line needed when creating a class named Worker?
A) def__init__(self):
B) class Worker:
C) import random
D) def worker_pay(self):
Q2) In ___________ programming,the programming is centered on objects that are created from abstract data types that encapsulate data and functions together.
Q3) All instances of a class share the same values of the data attributes in the class.
A)True
B)False
Q4) When an object is passed as an argument,__________ is passed into the parameter variable.
A) a copy of the object
B) a reference to the object's state
C) a reference to the object
D) Objects cannot be passed as arguments.
Q5) A class __________ is a set of statements that defines a class's methods and data attributes.
To view all questions and flashcards with answers, click on the resource link above. Page 13
Chapter 11: Inheritance
Available Study Resources on Quizplus for this Chatper
36 Verified Questions
36 Flashcards
Source URL: https://quizplus.com/quiz/48082
Sample Questions
Q1) In a UML diagram depicting inheritance,you only need to write the name of the subclass.
A)True
B)False
Q2) In the following line of code,what is the name of the subclass?
Class Rose(Flower):
A) Rose
B) Flower
C) Rose(Flower)
D) None of these
Q3) 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
Q4) When a class inherits another class,it is required to use all the data attributes and methods of the superclass.
A)True
B)False

Page 14
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/48083
Sample Questions
Q1) A function is called from the main function for the first time and then calls itself seven times. What is the depth of recursion?
A) 8
B) 2
C) 1
D) 7
Q2) Recursive algorithms are always more concise and efficient than iterative algorithms.
A)True
B)False
Q3) A function is called from the main function and then it calls itself five times. The depth of recursion is __________.
Q4) The base case does not require __________,so it stops the chain of recursive calls.
Q5) A recursive function must have some way to control the number of times it repeats. A)True
B)False
Q6) A recursion in which a function directly calls itself is known as ___________ recursion.
To view all questions and flashcards with answers, click on the resource link above. Page 15

Chapter 13: Gui Programming
Available Study Resources on Quizplus for this Chatper
42 Verified Questions
42 Flashcards
Source URL: https://quizplus.com/quiz/48084
Sample Questions
Q1) Which widget allows the user to select a value by moving a slider along a track?
A) Scrollbar
B) Toplevel
C) Scale
D) Slider
Q2) In a GUI environment,no text input is possible.
A)True
B)False
Q3) A root widget's destroy method can be used as a callback function for a Quit button.
A)True
B)False
Q4) In a(n)__________ interface,the user can determine the order in which things happen.
A) windows
B) command line
C) GUI
D) operating
Q5) The __________ widget provides methods that allow the programmer to draw some simple shapes.
To view all questions and flashcards with answers, click on the resource link above. Page 16