Software Development Fundamentals Exam Practice Tests - 489 Verified Questions

Page 1


Software Development Fundamentals

Exam Practice Tests

Course Introduction

Software Development Fundamentals introduces students to the essential principles of software engineering, covering the software development life cycle, programming basics, problem-solving techniques, and foundational concepts such as algorithms, data structures, and debugging. The course provides hands-on experience with modern programming languages and development tools, fostering an understanding of best practices in coding, version control, and collaborative work. By the end of the course, students will be able to design, implement, and test simple software applications, preparing them for more advanced studies in computer science and software engineering.

Recommended Textbook

Starting Out with Python 2nd Edition by Tony Gaddis

Available Study Resources on Quizplus

14 Chapters

489 Verified Questions

489 Flashcards

Source URL: https://quizplus.com/study-set/895 Page 2

Chapter 1: Introduction to Computers and Programming

Available Study Resources on Quizplus for this Chatper

35 Verified Questions

35 Flashcards

Source URL: https://quizplus.com/quiz/17656

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 Python language uses a compiler, which is a program that both translates and executes the instructions in a high level language.

A)True

B)False

Answer: False

Q3) In _______________ mode, the interpreter reads the contents of a file that contains Python statements and executes each statement.

Answer: script

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/17657

Sample Questions

Q1) In a print statement, you can set the _____ argument to a space or empty string to stop the output from advancing to a new line.

A) stop

B) end

C) separator

D) newLine

Answer: B

Q2) A(n) _______________ is a name that represents a value stored in the computer's memory.

Answer: variable

Q3) What symbol is used to mark the beginning and end of a string?

A) Slash

B) Asterisk

C) Quotation

D) Comma

Answer: C

Q4) Python allows programmers to break a statement into multiple lines.

A)True

B)False

Answer: True

Page 4

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

Chapter 3: Simple functions

Available Study Resources on Quizplus for this Chatper

34 Verified Questions

34 Flashcards

Source URL: https://quizplus.com/quiz/17658

Sample Questions

Q1) A(n) _______________ chart is a visual representation of the relationships between functions.

Answer: hierarchy

Q2) In a flowchart, a function call is depicted by a(n) _______________ that has vertical bars.

Answer: rectangle

Q3) Different functions can have local variables with the same names.

A)True

B)False

Answer: True

Q4) A(n) _____ constant is a global name that references a value that cannot be changed.

A) keyword

B) local C) global

D) string

Answer: C

Q5) The function header begins with the keyword _______________ followed by the name of the function.

Answer: def

Page 5

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

Chapter 4: Decision Structures and Boolean Logic

Available Study Resources on Quizplus for this Chatper

35 Verified Questions

35 Flashcards

Source URL: https://quizplus.com/quiz/17659

Sample Questions

Q1) Expressions that are tested by the if statement are called Boolean expressions.

A)True

B)False

Q2) Python allows you to compare strings, but it is not case sensitive.

A)True

B)False

Q3) A Boolean variable can reference one of two values: _____.

A) yes or no

B) t or false

C) T or f

D) Y or N

Q4) Which logical operators perform short-circuit evaluation?

A) or, not

B) not, and

C) or, and

D) and, or, not

Q5) A(n) _______________ decision structure provides only one alternative path of execution.

Q6) A(n) _______________ statement will execute one block of statements if its condition ist, or another block if its condition is false.

Page 6

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

Chapter 5: Repetition Structures

Available Study Resources on Quizplus for this Chatper

35 Verified Questions

35 Flashcards

Source URL: https://quizplus.com/quiz/17660

Sample Questions

Q1) A(n) _______________ total is a sum of numbers that accumulates with each iteration of a loop.

Q2) The first input operation is called the _____, and its purpose is to get the first input value that will be tested by the validation loop.

A) priming read

B) first input

C) loop set read

D) loop validation

Q3) _____ is the process of inspecting data that has been input to a program to make sure it is valid before it is used in a computation.

A) Input validation

B) Correcting data

C) Data validation

D) Correcting input

Q4) To get the total number of iterations of a nested loop, multiply the number of iterations of all the loops.

A)True

B)False

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

Chapter 6: Value-Returning functions and Modules

Available Study Resources on Quizplus for this Chatper

35 Verified Questions

35 Flashcards

Source URL: https://quizplus.com/quiz/17661

Sample Questions

Q1) A(n) _______________ program displays a list of the operations on the screen and allows the user to select the operation that the program should perform.

Q2) To refer to a function in a module, in our program we have to use the _______________ notation.

Q3) A value-returning function is like a simple function except that when it finishes it returns a value back to the called part of the program.

A)True

B)False

Q4) In a menu-driven program, what statement is used to determine and carry out the user's desired action?

A) if-else

B) if-elif-else

C) while D) for

Q5) A value-returning function has a(n) _______________ statement that returns a value back to the part of the program that called it.

Q6) The 'P' in the acronym IPO refers to _______________.

Q7) In Python, a module's file name should end in _______________.

Page 8

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

Chapter 7: files and Exceptions

Available Study Resources on Quizplus for this Chatper

35 Verified Questions

35 Flashcards

Source URL: https://quizplus.com/quiz/17662

Sample Questions

Q1) A(n) _______________ includes one or more statements that can potentially raise an exception.

Q2) Which method could be used to convert a numeric value to a string?

A) str

B) value

C) num

D) chr

Q3) The term _______________ file is used to describe a file from which the program gets data.

Q4) A(n) _______________ access file retrieves data from the beginning of the file to the end of the file.

Q5) 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

Q6) A(n) _______________ file contains data that has not been converted to text.

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

Chapter 8: Lists and Tuples

Available Study Resources on Quizplus for this Chatper

35 Verified Questions

35 Flashcards

Source URL: https://quizplus.com/quiz/17663

Sample Questions

Q1) Tuples are _______________ sequences, which means that once a tuple is created, it cannot be changed.

Q2) The _______________ exception is raised when a search item is not in the list being searched.

Q3) What method or operator can be used to concatenate lists?

A) *

B) +

C) %

D) concat

Q4) Each element in a tuple has a(n) _______________ that specifies its position in the tuple.

Q5) The primary difference between a tuple and list is that _____.

A) when creating a tuple you don't use commas to separate elements

B) a tuple can only include string elements

C) a tuple cannot include lists as elements

D) once a tuple is created, it cannot be changed

Q6) A(n) _______________ is an object that holds multiple items of data.

Q7) A(n) _______________ is a span of items that are taken from a sequence.

Page 10

Q8) The _______________ method is commonly used to add items to a list.

Q9) The _______________ method reverses the order of the items in the list.

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

Chapter 9: More About Strings

Available Study Resources on Quizplus for this Chatper

35 Verified Questions

35 Flashcards

Source URL: https://quizplus.com/quiz/17664

Sample Questions

Q1) What is the first negative index in a string?

A) 0

B) -1

C) -0

D) Size of the string minus one

Q2) What will be assigned to the string variable pattern after the execution of the following code? i = 3

Pattern = 'z' * (5*i)

A) 'zzzzzzzzzzzzzzz'

B) 'zzzzz'

C) Error: '*' operator used incorrectly

D) The right side of the '*' must be an integer.

Q3) What will be assigned to s_string after the execution of the following code? special = '1357 Country Ln.'

S_string = special[ :4]

A) '7'

B) '1357'

C) '1357 '

D) Invalid code

Q4) The _______________ method returnst if the string contains only numeric digits.

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

Chapter 10: Dictionaries and Sets

Available Study Resources on Quizplus for this Chatper

35 Verified Questions

35 Flashcards

Source URL: https://quizplus.com/quiz/17665

Sample Questions

Q1) To write an object to a file, you use the _______________ function of the _______________ module.

Q2) In order to avoid KeyError exceptions, you can check whether a key is in the dictionary using the _____ operator.

A) included

B) of C) in D) not in

Q3) What method can be used to add a group of elements to a set?

A) add

B) addgroup

C) update

D) Elements must be added one at a time.

Q4) The built-in function _______________ returns the number of items in a set.

Q5) The index of the first element in a set is 0.

A)True

B)False

Q6) A(n) _______________ is an object that holds multiple unique items of data in an unordered manner.

Q7) The _______________ method clears the contents of a dictionary.

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

Chapter 11: Classes and Object-Oriented Programming

Available Study Resources on Quizplus for this Chatper

35 Verified Questions

35 Flashcards

Source URL: https://quizplus.com/quiz/17666

Sample Questions

Q1) _______________ programming is a method of writing software that centers on the actions that take place in a program.

Q2) _______________ provides a set of standard diagrams for graphically depicting object-oriented systems.

Q3) What attributes belong to a specific instance of the class?

A) Instance

B) Self

C) Object

D) Data

Q4) What is, conceptually, a self-contained unit that consists of data attributes and methods that operate on the data attributes?

A) Class

B) Object

C) Instance

D) Module

Q5) In a UML diagram, the middle section holds the list of the class's methods.

A)True

B)False

Q6) A(n) _______________ method in a class initializes an object's data attributes.

Page 14

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

Chapter 12: Inheritance

Available Study Resources on Quizplus for this Chatper

35 Verified Questions

35 Flashcards

Source URL: https://quizplus.com/quiz/17667

Sample Questions

Q1) In a UML diagram depicting inheritance, you only write the name of the subclass.

A)True

B)False

Q2) In the following line of code, what is the name of the base class? class Male(Human):

A) Male

B) Human

C) Either

D) Incorrect code

Q3) It is not possible to indicate inheritance in a UML diagram.

A)True

B)False

Q4) In an inheritance relationship, the extended class is called the _______________.

Q5) Each subclass has a method named __init__ that overrides the superclass's __init__.

A)True

B)False

Q6) The _______________ function determines whether an object is an instance of a specific class, or an instance of a subclass of that class.

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

Chapter 13: Recursion

Available Study Resources on Quizplus for this Chatper

35 Verified Questions

35 Flashcards

Source URL: https://quizplus.com/quiz/17668

Sample Questions

Q1) A function is called from the main function for the first time. It then calls itself seven times. What is the depth of recursion?

A) Eight

B) Two

C) One

D) Seven

Q2) A recursion in which a function directly calls itself is known as _______________ recursion.

Q3) A recursive function includes _____ which are not necessary in a loop structure.

A) function calls

B) conditional clauses

C) overhead actions

D) object instances

Q4) Usually, a problem is reduced by making the value of one or more parameters _______________ with each recursive call.

Q5) A base case is not necessary for all recursive algorithms.

A)True

B)False

Q6) Recursive function calls are _______________ efficient than loops.

Page 16

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

Chapter 14: GUI Programming

Available Study Resources on Quizplus for this Chatper

35 Verified Questions

35 Flashcards

Source URL: https://quizplus.com/quiz/17669

Sample Questions

Q1) The acronym GUI stands for:

A) Graphical User Interface

B) Graphical Unit Interface

C) Graphical User Interaction

D) Graphical Users' Interface

Q2) With what part of the computer does the user interact?

A) Graphical unit

B) User interface

C) Register

D) CPU

Q3) The _____ accepts the user's commands.

A) register

B) CPU

C) operating system

D) ALU

Q4) _______________ are small windows that display information and allow the user to perform actions.

Q5) A(n) _______________ is a widget that the user can click to cause an action to occur.

Q6) The _______________ widget is used to display text in a window.

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

Turn static files into dynamic content formats.

Create a flipbook