

![]()


Fundamentals of Software Development introduces students to the essential principles, tools, and techniques used in creating robust software applications. The course covers foundational programming concepts, software development life cycles, problem-solving strategies, and fundamental design methodologies. Students will learn how to analyze problems, design algorithms, write code, test solutions, and utilize version control systems. Emphasizing both individual and collaborative work, the course prepares students to build practical software solutions while fostering a strong understanding of real-world development workflows and industry best practices.
Recommended Textbook
Java Foundations 3rd Edition by John Lewis
Available Study Resources on Quizplus
16 Chapters
639 Verified Questions
639 Flashcards
Source URL: https://quizplus.com/study-set/3997 Page 2

40 Verified Questions
40 Flashcards
Source URL: https://quizplus.com/quiz/80262
Sample Questions
Q1) An identifier can begin with a digit.
A)True
B)False
Answer: False
Q2) A syntax error is a _____________________.
A) a logical error
B) a compile-time error
C) a run-time error
D) a bug
E) an exception
Answer: B
Q3) Name the steps to solving a problem as described by your textbook.
Answer: According to the textbook, the five steps to solving a problem are understanding the problem, designing the solution, considering alternatives to the solution and refining the solution, implementing the solution, and testing the solution and fixing any problems that exist.
Q4) Write a short Java program that outputs your name, your major, and your birthday on three different lines.
Answer: 11edd9cc_2d01_9f13_84e8_134dfbf1e8f5_TB2841_00
To view all questions and flashcards with answers, click on the resource link above. Page 3

Available Study Resources on Quizplus for this Chatper
40 Verified Questions
40 Flashcards
Source URL: https://quizplus.com/quiz/80257
Sample Questions
Q1) In order to make a variable a constant which modifier must be included in its declaration?
A) public
B) final
C) static
D) void
E) private
Answer: B
Q2) Which of the following lines allows a programmer to use the Scanner class in a Java program?
A) import java.util.Scanner; B) using Scanner;
C) include Scanner;
D) include java.util.Scanner;
E) any of the above will allow the programmer to use the Scanner class
Answer: A
Q3) Java uses the ASCII character set to represent character data.
A)True
B)False Answer: False
To view all questions and flashcards with answers, click on the resource link above. Page 4

Available Study Resources on Quizplus for this Chatper
40 Verified Questions
40 Flashcards
Source URL: https://quizplus.com/quiz/80255
Sample Questions
Q1) Assume that we have a Random object referenced by a variable called generator. Which of the following lines will generate a random number in the range 5-20 and store it in the int variable randNum?
A) randNum = generator.nextInt(15) + 5;
B) randNum = generator.nextInt(15) + 6;
C) randNum = generator.nextInt(16) + 5;
D) randNum = generator.nextInt(16) + 6;
E) none of the above
Answer: C
Q2) What is output by the following code fragment?
String hello = new String("Hello World!"); hello = hello.replace('H', 'W'); hello = hello.replace('W', 'H'); System.out.println(hello);
Answer: This will output Hello Horld!
Q3) Enumerated types allow a programmer to treat primitive data as objects. A)True
B)False
Answer: False
To view all questions and flashcards with answers, click on the resource link above. Page 5

Available Study Resources on Quizplus for this Chatper
40 Verified Questions
40 Flashcards
Source URL: https://quizplus.com/quiz/80254
Sample Questions
Q1) The Scanner object can be used to read text files.
A)True
B)False
Q2) Write a code fragment that allows a user to continue inputting numbers until she enters a sentinel value of 0. Then print the sum of all the numbers she entered. You may assume that a Scanner object called input has already been created.
Q3) The relational operators should not be used to test the equality of objects.
A)True
B)False
Q4) Assume numOne and numTwo are integers. How many times might the following code print out grape? Explain your answer. if(intOne > intTwo)
System.out.println(intOne + is larger than + intTwo); else if(intOne < intTwo)
System.out.println(intTwo + is larger than + intOne); else
System.out.println(intOne + and + intTwo + are equal! );
Q5) Write a for loop to print the even numbers from 1 to 100 (inclusive).
To view all questions and flashcards with answers, click on the resource link above. Page 6

Available Study Resources on Quizplus for this Chatper
40 Verified Questions
40 Flashcards
Source URL: https://quizplus.com/quiz/80253
Sample Questions
Q1) An object can be thought of as a blueprint for a set of classes.
A)True
B)False
Q2) Explain the difference between actual parameters and formal parameters.
Q3) Variables that are declared as static are shared among all instances of a class.
A)True
B)False
Q4) Write a method called containsPair that takes in three integer parameters and returns true if any two of the input parameters are the same.
Q5) Explain why a static method cannot refer to an instance variable.
Q6) Write a method called maxOfThree that accepts three integer parameters and returns the largest of the three.
Q7) The versions of an overloaded method are distinguished by ___________________________.
A) the number, type and order of their parameters
B) their identifiers
C) their classes
D) the number and type of their parameters
E) the number of their parameters
To view all questions and flashcards with answers, click on the resource link above.

Available Study Resources on Quizplus for this Chatper
40 Verified Questions
40 Flashcards
Source URL: https://quizplus.com/quiz/80252
Sample Questions
Q1) Which of the following best describes a timer component?
A) it starts when a GUI component is first initialized, and ends when it is destroyed
B) it generates action events at regular intervals
C) every object has a timer, and it is implicitly activated in the constructor of the object
D) it determines the amount of time it takes to execute a method
E) a timer cannot be considered a GUI component
Q2) A color chooser is a dialog box.
A)True
B)False
Q3) Which of the following represents a dialog box that allows the user to select a file from a disk or other storage medium?
A) color chooser
B) disk chooser
C) tool tip chooser
D) file chooser
E) none of the above
Q4) Should a component ever be disabled? Why or why not?
Q5) Give an example of a common use of a dialog box.
To view all questions and flashcards with answers, click on the resource link above. Page 8
Available Study Resources on Quizplus for this Chatper
40 Verified Questions
40 Flashcards
Source URL: https://quizplus.com/quiz/80251
Sample Questions
Q1) Write a method called average that accepts an array of floating point numbers and returns their average.
Q2) Which of the following array declarations are invalid?
A) int[] grades = new int[5];
B) int grades[] = new int[5];
C) int[] grades = { 91, 83, 42, 100, 77 };
D) all of the above are valid
E) none of the above are valid
Q3) Write the declaration for a two-dimensional array of integers that can be thought of as a table with three rows and three columns. Assign the value 3 to the cell that is in the second row and the third column.
Q4) Which of the following is a true statement?
A) Arrays are passed as parameters to methods like primitive types.
B) Arrays are passed as parameters to methods like object types.
C) Arrays cannot be passed as parameters to methods.
D) All of the above are true.
E) None of the above are true.
Q5) An array declared as an int[] can contain elements of different primitive types.
A)True
B)False

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

Available Study Resources on Quizplus for this Chatper
40 Verified Questions
40 Flashcards
Source URL: https://quizplus.com/quiz/80250
Sample Questions
Q1) Of the classes below, the one that is most likely to be declared abstract is
A) Bat
B) Squirrel
C) Animal
D) Iguana
E) Parrot
Q2) Explain what it means for a child class to override a parent class. Why might this be useful?
Q3) The original class that is used to derive a new class using inheritance is called
A) a superclass
B) a parent class
C) a base class
D) all of the above
E) neither a, b, nor c
Q4) Java supports multiple inheritance.
A)True
B)False
Q5) Explain the relevance of the Object class to the Java programming language.
Page 10
To view all questions and flashcards with answers, click on the resource link above.

Available Study Resources on Quizplus for this Chatper
39 Verified Questions
39 Flashcards
Source URL: https://quizplus.com/quiz/80249
Sample Questions
Q1) The commitment to execute certain code to carry out a method invocation is referred to as _________________.
A) execution
B) binding
C) polymorphism
D) inheritance
E) none of the above
Q2) Which GUI concepts use polymorphism to establish their relationship?
A) a listener and its associated component
B) a radio button and its default selection
C) a button and its label
D) a slider and its tick marks
E) none of the above
Q3) How do interfaces relate to multiple inheritance?
Q4) Describe the Iterator interface.
Q5) If a class implements an interface, it cannot extend another class.
A)True
B)False
Q6) Why can't an interface be instantiated?
Q7) Give an example of a class that implements the Iterator interface.
To view all questions and flashcards with answers, click on the resource link above. Page 11

Available Study Resources on Quizplus for this Chatper
40 Verified Questions
40 Flashcards
Source URL: https://quizplus.com/quiz/80260
Sample Questions
Q1) The Towers of Hanoi puzzle cannot be solved iteratively.
A)True
B)False
Q2) Describe a recursive solution to the Towers of Hanoi puzzle with N disks.
Q3) What is wrong with the following recursive method that computes the sum of all of the odd positive integers less than or equal to n? public int sumOfOdds(int n) { if(n%2 == 0)
return sumOfOdds(n-1); else
return n + sumOfOdds(n-2); }
Q4) ____________________ recursion occurs when a method calls itself, while _________________ recursion when a method calls another method that then calls the original method.
A) upward, downward
B) downward, upward
C) direct, indirect
D) indirect, direct
E) none of the above
To view all questions and flashcards with answers, click on the resource link above. Page 12

Available Study Resources on Quizplus for this Chatper
40 Verified Questions
40 Flashcards
Source URL: https://quizplus.com/quiz/80261
Sample Questions
Q1) In practice, it is important to catch all exceptions that might be thrown by a program.
A)True
B)False
Q2) Which of the following exceptions are unchecked?
A) RuntimeException
B) IllegalAccessException
C) NoSuchMethodException
D) ClassNotFoundException
E) none of the above
Q3) The _________________ statement is used to begin exception propogation.
A) propogate
B) relay
C) throw
D) except
E) send
Q4) Attempting to divide by zero will result in an Error being thrown, not an Exception.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above. Page 13

Available Study Resources on Quizplus for this Chatper
40 Verified Questions
40 Flashcards
Source URL: https://quizplus.com/quiz/80259
Sample Questions
Q1) Bubble sort works by separating a list into two lists, recursively sorting the two lists using bubble sort, and then combining the sorted sublists into a sorted list.
A)True
B)False
Q2) Quick sort works by separating a list into two lists, and recursively sorting the two lists using quick sort.
A)True
B)False
Q3) Write a method that accepts an integer and an array of integers, and returns true if the integer is contained in the array. You may assume that the array is sorted, and your method should use a binary search..
Q4) The ___________________ of an algorithm shows the relationship between the size of the problem and the value we hope to optimize.
A) growth function
B) growth analysis
C) size function
D) size analysis
E) none of the above
To view all questions and flashcards with answers, click on the resource link above.
14

Available Study Resources on Quizplus for this Chatper
40 Verified Questions
40 Flashcards
Source URL: https://quizplus.com/quiz/80258
Sample Questions
Q1) What are the leaves of a tree?
Q2) Since trees are nonlinear structures, it is impossible to implement them using an array.
A)True B)False
Q3) Explain how a binary tree can be implemented using an array.
Q4) There are four basic ways to traverse a tree, and they are all implemented recursively.
A)True
B)False
Q5) A binary tree is a tree in which any node can have at most two children. A)True B)False
Q6) In a tree, a node that does not have any children is called a leaf. A)True B)False
Q7) How many leaves will be contained in a full binary tree of height 5?
Q8) In a full tree, all leaves are at the same level. A)True B)False
To view all questions and flashcards with answers, click on the resource link above. Page 15

Available Study Resources on Quizplus for this Chatper
40 Verified Questions
40 Flashcards
Source URL: https://quizplus.com/quiz/80248
Sample Questions
Q1) It is possible to implement a stack and a queue in such a way that all operations take a constant amount of time.
A)True B)False
Q2) Write an enqueue method for a queue implemented as a linked structure. You may assume that the class has references to LinearNode<T> objects called front and rear, which represent the front and rear of the queue respectively. You may also assume that the class has a variable called count, which represents the number of elements in the queue.
Q3) A stack is the ideal collection to use when _______________________ .
A) implementing a radix sort
B) evaluating a postfix expression
C) evaluating an infix expression
D) implementing a quick sort
E) none of the above
Q4) The peek operation on a stack returns a reference to the element at the bottom of the stack.
A)True B)False
Q5) List the five basic operations on a queue.
Page 16
To view all questions and flashcards with answers, click on the resource link above.

Available Study Resources on Quizplus for this Chatper
40 Verified Questions
40 Flashcards
Source URL: https://quizplus.com/quiz/80247
Sample Questions
Q1) Describe the steps involved in performing a right rotation on a node in a binary search tree.
Q2) A binary search tree that is highly unbalanced is called a ________________ tree.
A) full
B) complete
C) degenerate
D) unsearchable
E) none of the above
Q3) Explain how to add an element to a binary search tree.
Q4) A ____________________ is a complete binary tree in which each element is greater than or equal to both of its children.
A) binary search tree
B) stack
C) full tree
D) heap
E) none of the above
Q5) Explain how an element is added to a heap.
Q6) What is the inorder successor of a node in a binary search tree?
Q7) Explain how heap sort works.
To view all questions and flashcards with answers, click on the resource link above. Page 17
Available Study Resources on Quizplus for this Chatper
40 Verified Questions
40 Flashcards
Source URL: https://quizplus.com/quiz/80256
Sample Questions
Q1) Consider the following undirected graph. vertices: 1, 2, 3, 4, 5 edges: (1,2),(3,4), (2,4), (2, 3)
Is the graph acyclic?
Q2) In a(n) _____________________ graph, an edge from node labeled A to a node labeled B is the same as having an edge from B to A.
A) directed
B) undirected
C) sparse
D) tree-like
E) none of the above
Q3) What is the difference between a spanning tree and a minimum spanning tree?
Q4) A digraph and an directed graph are the same thing. A)True
B)False
Q5) What data structure is used to support a depth-first traversal of a graph?
Q6) Consider the following undirected graph. vertices: 1, 2, 3, 4, 5 edges: (1,2),(3,4), (2,4), (2, 3)
Is the graph connected?

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