Software Development Principles Test Preparation - 430 Verified Questions

Page 1


Software Development Principles

Test Preparation

Course Introduction

Software Development Principles introduces students to the foundational concepts, methodologies, and best practices essential to modern software development. The course covers key principles such as modularity, abstraction, encapsulation, and reusability, while emphasizing the importance of software development life cycles, version control, code quality, and documentation. Students will explore agile and traditional methodologies, learn how to design robust and maintainable software, and understand the significance of testing and debugging. By the end of the course, students will be equipped with the skills to apply effective development practices that result in reliable, scalable, and user-oriented software solutions.

Recommended Textbook

Starting Out With Visual Basic 2012 6th Edition by Tony Gaddis

Available Study Resources on Quizplus

12 Chapters

430 Verified Questions

430 Flashcards

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

Chapter 1: Introduction to Programming and Visual Basic

Available Study Resources on Quizplus for this Chatper

40 Verified Questions

40 Flashcards

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

Sample Questions

Q1) Control names may not contain spaces.

A)True

B)False Answer: True

Q2) All of the following are major hardware components of a typical computer system except _.

A) Main Memory

B) CPU

C) Operating System

D) secondary storage Answer: C

Q3) Which is considered a valid step for developing a Visual Basic application?

A) Determine event handlers needed for each control.

B) Determine the controls needed.

C) Create a flowchart of the code.

D) all of the above Answer: D

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

Chapter 2: Creating Applications With Visual Basic

Available Study Resources on Quizplus for this Chatper

36 Verified Questions

36 Flashcards

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

Sample Questions

Q1) You can run an application in all of the following ways except ___.

A) Click the Start Debugging button on the toolbar

B) Press the Ctrl-F4 keys

C) Press the F5 key

D) Click DEBUG on the menu bar, and then click Start Debugging

Answer: B

Q2) The properties of a control are listed in the _window.

A) Options

B) Properties

C) Solution Explorer

D) Project

Answer: B

Q3) Which value of the SizeMode property is used to automatically adjust the size of a PictureBox control to fit the size of the image?

A) Normal

B) Zoom

C) CenterImage

D) AutoSize

Answer: D

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

Page 4

Chapter 3: Variables and Calculations

Available Study Resources on Quizplus for this Chatper

41 Verified Questions

41 Flashcards

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

Sample Questions

Q1) The operator performs string concatenation.

A) ampersand &)

B) dollar sign $)

C) percent symbol %)

D) pound symbol #)

Answer: A

Q2) What will be assigned to the label when the following statements execute? Dim dblVal As Double = 11.75

LblResult.Text = dblVal.ToString"n3")

A) $11.75

B) 11.75

C) 11.750

D) 12

Answer: C

Q3) Which of the following is False in regard to naming variables?

A) Names may contain underscores.

B) Names may contain letters.

C) Names may contain digits.

D) Names may contain spaces.

Answer: D

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

Chapter 4: Making Decisions

Available Study Resources on Quizplus for this Chatper

39 Verified Questions

39 Flashcards

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

Sample Questions

Q1) Which statement copies a string from a text box named txtLastName, converts the string to uppercase and saves the string in strLastName?

A) strLastName = txtLastName

B) txtLastName.Text = strLastNameToUpper)

C) strLastName = ToUppertxtLastName.Text)

D) strLastName = txtLastName.Text.ToUpper)

Q2) Suppose you want to verify that the user has entered a value into a text box named txtInput. Which of the following code segments responds with an appropriate message if the user does not enter a value?

A) If txtInput.text < > "" Then lblStatus.Text = "No data has been entered"

End If

B) If txtInput.Text = " " Then lblStatus.Text = "No data has been entered"

End If

C) If txtInput < > String.Empty Then lblStatus.Text = "No data has been entered"

End If

D) If txtInput.Text = String.Empty Then lblStatus.Text = "No data has been entered"

End If

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

6

Chapter 5: Lists and Loops

Available Study Resources on Quizplus for this Chatper

36 Verified Questions

36 Flashcards

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

Sample Questions

Q1) Which of the following controls and methods provides a simple way to gather input from the user at runtime without placing a text box on a form?

A) ListBox

B) MessageBox

C) ComboBox

D) InputBox

Q2) The SelectedItem property of a ListBox .

A) contains the index of the currently selected item

B) contains the text of the currently selected item

C) returns the location of the currently selected item

D) returns -1 if no item is selected

Q3) If lstMonths is a ListBox, which of the following will cause an exception to be thrown?

A) lstMonths.Items0)

B) lstMonths.ItemslstMonths.Items.Count - 1)

C) lstMonths.ItemslstMonths.Items.Count)

D) all of the above

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

Chapter 6: Procedures and Functions

Available Study Resources on Quizplus for this Chatper

31 Verified Questions

31 Flashcards

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

Sample Questions

Q1) Which is the correct way to define a function named Square that receives an integer and returns an integer representing the square of the input value?

A) Function SquareByVal intNum as Integer) As Integer Return intNum * intNum

End Function

B) Function SquareByVal intNum as Integer) Return intNum * intNum

End Function

C) Function SquareByVal intNum as Integer) As Double Return intNum * intNum

End Function

D) Function SquareByVal intNum as Integer) As Double Dim dblAns as Double DblAns = intNum * intNum

Return dblAns End Function

Q2) In the context of Visual Basic procedures and functions, what is an argument?

A) A value received by a procedure from the caller

B) A value passed to a procedure by the caller.

C) A local variable that retains its value between procedure calls.

D) A disagreement between the procedure and the statement that calls it.

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

Chapter 7: Multiple Forms, Modules, and Menus

Available Study Resources on Quizplus for this Chatper

36 Verified Questions

36 Flashcards

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

Sample Questions

Q1) Which of the following will display the getStudentDataForm form such that the programming statements that follow will not execute until the getStudentDataForm is closed?

A) getStudentDataForm.Open)

B) getStudentDataForm.Show)

C) getStudentDataForm.ShowDialog)

D) getStudentDataForm.OpenForm.Modal)

Q2) All of the following are true about standard modules except .

A) A module is a file that contains code such as variable declarations and procedures

B) A public variable declared in a standard module may be used by other files in a project

C) Standard modules may contain event handlers

D) Standard modules are not associated with a particular form

Q3) Which of the following is not true about a form's class declaration?

A) It contains a detailed description of a form.

B) It's similar to a blueprint for a house.

C) It creates an instance of the form.

D) It contains the form's event handlers.

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

9

Chapter 8: Arrays and More

Available Study Resources on Quizplus for this Chatper

34 Verified Questions

34 Flashcards

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

Sample Questions

Q1) Which of the following provides the index of the highest numbered element of the array strNames?

A) strNames.Length - 1

B) strNames.Length

C) strNames.Length + 1

D) None of the above

Q2) Which of the following statements sorts an array named intValues?

A) Sort.ArrayintValues)

B) SortintValues)

C) Sort.ArrayintValues))

D) Array.SortintValues)

Q3) This property of a control allows it be positioned a specified distance from the outside edge of the form.

A) dock

B) anchor

C) attach

D) secure

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

Chapter 9: Files, Printing, and Structures

Available Study Resources on Quizplus for this Chatper

36 Verified Questions

36 Flashcards

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

Sample Questions

Q1) The method writes data to a file, followed by a newline character immediately after the data.

A) PrintLine

B) WriteLine

C) WriteNewLine

D) Write

Q2) What does the following line do? Do Until inputFile.EndOfStream

A) Checks to see if the file exists

B) Checks to see if the next input is -1

C) Checks to see if the file is empty

D) Checks to see if all the data in the file has been read

Q3) An application must first _a file before it can be used.

A) write to

B) read from

C) open

D) unlock

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

Chapter 10: Working With Databases

Available Study Resources on Quizplus for this Chatper

32 Verified Questions

32 Flashcards

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

Sample Questions

Q1) A ____statement in SQL retrieves data from a database.

A) Select

B) Search

C) Find

D) SearchTable

Q2) A connects data bound controls to a dataset

A) data source

B) dataset

C) binding source

D) table adapter

Q3) A database ___is organized into rows and columns.

A) grid

B) matrix

C) table

D) spreadsheet

Q4) What is the simplest way to update a user's changes to the database?

A) No need to save user changes as this occurs automatically

B) Use the Update method of a table adapter

C) Click the diskette icon to save the dataset to the database

D) Call the SaveDataset method of the table adapter

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

Chapter 11: Developing Web Applications

Available Study Resources on Quizplus for this Chatper

33 Verified Questions

33 Flashcards

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

Sample Questions

Q1) The following are true about a HyperLink control, except .

A) its Text property is shown to the user at runtime

B) it generates an event

C) it allows the user to navigate to another Web page

D) its Target property controls whether new page will appear in a separate window

Q2) Which Web control is similar to the Windows form ComboBox control?

A) TextBox

B) DropDownList

C) CheckBoxList

D) ListBox

Q3) Web forms use a ___control to access a database and retrieve table rows.

A) DataSet

B) DataSource

C) DataDetails

D) Connection

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

13

Chapter 12: Classes, Collections, and Inheritance

Available Study Resources on Quizplus for this Chatper

36 Verified Questions

36 Flashcards

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

Sample Questions

Q1) What happens when an object variable goes out of scope?

A) The object may be removed from memory by the garbage collector.

B) The object may be referred to using the dot operator.

C) An exception error will be generated.

D) The object becomes accessible again when the variable comes back into scope.

Q2) A function that is a member of a class is called _.

A) a module

B) a method

C) a component

D) an element

Q3) Which of the following statements will remove an object referred to by the object variable NewStudent?

A) NewStudent = String.Empty

B) NewStudent = Nothing

C) NewStudent.Delete

D) Remove.NewStudent

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

Turn static files into dynamic content formats.

Create a flipbook
Software Development Principles Test Preparation - 430 Verified Questions by Quizplus - Issuu