Information Systems Programming Test Questions - 822 Verified Questions

Page 1


Information Systems Programming Test Questions

Course Introduction

Information Systems Programming introduces students to the foundational concepts and practical skills required to develop software solutions for business and organizational information systems. The course covers programming logic, design, and implementation using modern programming languages, with an emphasis on solving real-world information management problems. Topics include data structures, database connectivity, user interfaces, and integration with enterprise applications. Students will analyze requirements, design system architectures, and construct programs that facilitate data processing, storage, and retrieval in support of organizational goals. Through hands-on projects, learners gain experience in developing robust, scalable, and maintainable information systems.

Recommended Textbook

Programming with Microsoft Visual Basic 2017 8th Edition by Diane Zak

Available Study Resources on Quizplus 14 Chapters

822 Verified Questions

822 Flashcards

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

Chapter 1: An Introduction to Visual Basic 2015

Available Study Resources on Quizplus for this Chatper

44 Verified Questions

44 Flashcards

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

Sample Questions

Q1) If a timer control is used to display the office image and company logo for five seconds,you will need to set the timer's Interval property to ____.

A)5

B)50

C)500

D)5000

Answer: D

Q2) A(n)____ is a block of code that performs a specific task.

A)event

B)form

C)class

D)sub procedure

Answer: D

Q3) When an object is instantiated (created),each property must be assigned a value by the programmer.

A)True

B)False

Answer: False

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

Chapter 2: Designing Applications

Available Study Resources on Quizplus for this Chatper

60 Verified Questions

60 Flashcards

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

Sample Questions

Q1) The following statements should send the output directly to the printer:

PrintForm1.PrintJob = Printing.PrintAction.PrintToPreview PrintForm2.Print()

Answer: PrintForm1.PrintAction = Printing.PrintAction.PrintToPrinter PrintForm1.Print()

Q2) A ____ provides an area in the form for the user to enter data.

A)text box

B)label

C)button

D)check box

Answer: A

Q3) Which of the following symbols is used to place documentation in a program and causes the computer to ignore the remaining content on the line?

A)//

B)/*

C)*/

D)'

Answer: D

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

4

Chapter 3: Using Variables and Constants

Available Study Resources on Quizplus for this Chatper

60 Verified Questions

60 Flashcards

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

Sample Questions

Q1) The ____ clause in an event procedure's header indicates the object and event associated with the procedure.

A)Handles

B)Private

C)Local

D)Associate

Answer: A

Q2) What are the Convert class methods and why are they sometimes used instead of conversion functions?

Answer: The Convert class contains methods that return the result of converting a value to a specified data type.They are used to convert a number (rather than a string)from one data type to another.The Convert class methods are also used because they can be used in any of the languages built into Visual Studio.The conversion functions can only be used in the Visual Basic language.

Q3) Data types and classes are not related to each other.

A)True

B)False

Answer: False

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

Chapter 4: The Selection Structure

Available Study Resources on Quizplus for this Chatper

60 Verified Questions

60 Flashcards

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

Sample Questions

Q1) If dblMiles >= 500 Then dblMiles = dblMiles * 0.45

Else

DblMiles = dblMiles * 0.25

End If

The dblMiles variable contains the number 575 before the code above is processed.What value will be in the variable after the code is processed?

A)0

B)143.75

C)225

D)258.75

Q2) What is the value of the following expression: 9 * 2 - 8 > 5 + 2 / 2?

A)10

B)6

C)False

D)True

Q3) Comparison operators are always evaluated after arithmetic operators in a conditional expression.

A)True

B)False

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

Page 6

Chapter 5: More on the Selection Structure

Available Study Resources on Quizplus for this Chatper

58 Verified Questions

58 Flashcards

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

Sample Questions

Q1) After creating a Random object,you can generate random integers using the ____ method.

A)Random.Call

B)Random.Number

C)Random.Generate

D)Random.Next

Q2) The maximum number of radio buttons that can be selected from a group is ____.

A)one

B)three

C)five D)seven

Q3) Which of the following conditions will evaluate to True when the chkValidID check box is not selected?

A)If chkValidID.check = False Then

B)If chkValidID.check = No Then

C)If chkValidID.checked = No Then

D)If chkValidID.checked = False Then

Q4) An application needs to generate a random number that is greater than or equal to 1 but less than 348.Write the statements to generate the random number and assign it to the intNum variable.

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

Chapter 6: The Repetition Structure

Available Study Resources on Quizplus for this Chatper

60 Verified Questions

60 Flashcards

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

Sample Questions

Q1) ____ means assigning a beginning value to a counter or an accumulator.

A)Introducing

B)Initializing

C)Incrementing

D)Updating

Q2) How many times will the message display based on the counter being initialized to 0? intCounter = 0

Do While intCounter < 5 MessageBox.Show("OK")

IntCounter = intCounter + 1

Loop

A)zero

B)one

C)four

D)five

Q3) The strCode variable contains an uppercase letter.Write two different Do...Loop clauses that process the loop instructions as long as the value in the strCode variable is either A or B.Use the Until keyword in the first clause,and use the While keyword in the second clause.

Q4) Explain the difference between a looping condition and a loop exit condition.

Page 8

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

Chapter 7: Sub and Function Procedures

Available Study Resources on Quizplus for this Chatper

60 Verified Questions

60 Flashcards

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

Sample Questions

Q1) Which of the following statements will determine the number of items in the list portion of the Department combo box?

A)cboDepartment.Count.Items

B)cboDepartment.Items.Count

C)lstDepartment.Items.Count

D)lstDepartment.Count.Items

Q2) When you pass a variable ____,the computer passes only the contents of the variable to the receiving procedure.

A)by reference

B)by parameter

C)by dataType

D)by value

Q3) ____ styles of combo boxes are available in Visual Basic.

A)Two

B)Three

C)Four

D)Five

Q4) How do the parameterList of a procedure header and the argumentList of a Call statement relate to each other?

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

Chapter 8: String Manipulation

Available Study Resources on Quizplus for this Chatper

60 Verified Questions

60 Flashcards

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

Sample Questions

Q1) The strState variable should contain two uppercase letters.Which of the following statements determines whether the variable contains a valid state?

A)If strState = "[A-Z][A-Z]" Then

B)If strState Like "[A-Z]" Then

C)If strState Like "[a-z][a-z]" Then

D)If strState Like "[A-Z][A-Z]" Then

Q2) You can use the ____ method to search a string to determine whether it contains a specific sequence of characters.

A)Contains

B)Insert

C)Substring

D)IndexOf

Q3) Assume that the data for salary is entered with both a dollar symbol and a space.Which of the following instructions will remove the dollar symbol?

A)salary.TrimStart("$")

B)salary.TrimLeft("$")

C)salary.TrimEnd("$")

D)salary.TrimRight("$")

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

Chapter 9: Arrays

Available Study Resources on Quizplus for this Chatper

60 Verified Questions

60 Flashcards

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

Sample Questions

Q1) The syntax ____ assigns either the value entered in the txtSales control (converted to Decimal)or the number 0 to the third element in the decSales array.

A)Decimal.TryParse(txtSales.Text, decSales(3))

B)Decimal.TryParse(txtSales.Text, decSales(0))

C)Decimal.TryParse(txtSales.Text, decSales(2))

D)TryParse(txtSales.Text, decSales(1))

Q2) The following statement will declare an array.What is the index value for the first element? Dim lakes(5)

A)0

B)1

C)4

D)5

Q3) When an array is sorted in descending order,the first element in the array contains the smallest value and the last element contains the largest value.

A)True

B)False

Q4) Write the statements to traverse the strCategory array and display each element's value in the lstCategory control.Use a For Each...Next statement.

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

Page 11

Chapter 10: Structures and Sequential Access Files

Available Study Resources on Quizplus for this Chatper

60 Verified Questions

60 Flashcards

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

Sample Questions

Q1) Describe two advantages to programmers of using structures and structure variables.

Q2) Which of the following statements will read data from a sequential access file?

A)inFile.Read

B)inFile.Peek

C)inFile.ReadWrite

D)inFile.ReadLine

Q3) Write the code to declare a variable named outFile that can be used to write data to a sequential access file.Then write the statement to open a sequential access file named samples.txt for output.New data should be written to the file after any existing data in the file.

Q4) Write a Do clause that reads each line of text in a sequential access file and assigns the line to the strTextLine variable.Process the loop until the end of the file has been reached.The file is associated with a StreamReader variable named inFile.

Q5) Write the code to declare a variable named outFile that can be used to write data to a sequential access file.Then write the statement to open a sequential access file named customers.txt for output.

Q6) What is the difference between a structure and a structure variable?

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

Chapter 11: Classes and Objects

Available Study Resources on Quizplus for this Chatper

60 Verified Questions

60 Flashcards

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

Sample Questions

Q1) Write a Class statement that defines a class named Employee.(The class contains four public variables named EmpID,LastName,FirstName,and PayRate.The EmpID,LastName,and FirstName variables are String variables.The PayRate variable is a Decimal variable.)Then write a statement that creates an Employee variable named partTime and also instantiates an Employee object,assigning it to the partTime variable.

Q2) A class is anything that can be seen,touched,or used; in other words,a class is nearly any thing.

A)True

B)False

Q3) ____ are the actions to which an object can respond.

A)Attributes

B)Events

C)Behaviors

D)Methods

Q4) Constructors never return a value,so they are always Function procedures.

A)True

B)False

Q5) What is a constructor? Explain the difference between a default constructor and a parameterized constructor.

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

Chapter 12: Web Applications

Available Study Resources on Quizplus for this Chatper

60 Verified Questions

60 Flashcards

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

Sample Questions

Q1) Which of the following is a valid filename for a Web page?

A)Default.vb

B)Default.aspx

C)Default.aspx.vb

D)Default.vb.aspx

Q2) The purpose of the ____ tool is to verify that an entry is within the specified minimum and maximum values.

A)CompareValidator

B)RegularExpressionValidator

C)RequiredFieldValidator

D)RangeValidator

Q3) A ____ control allows the user to "jump" from one Web page to another.

A)Hyperlink

B)Jump

C)Link

D)Click

Q4) Write the If statement that determines whether the first radio button in the rblOptions control is selected.

Q5) Write the statement that determines whether the chkDiscount control is selected?

Page 14

Q6) What is the difference between a static Web page and a dynamic Web page?

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

Chapter 13: Working With Access Databases and Linq

Available Study Resources on Quizplus for this Chatper

60 Verified Questions

60 Flashcards

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

Sample Questions

Q1) A(n)____ stores information in tables composed of columns and rows,similar to the format used in a spreadsheet.

A)relational database

B)object

C)bound control

D)dataset

Q2) Define the terms "record," "field," and "table." Provide examples of each term when you are defining them.

Q3) When you drag an object from a dataset to an empty area on the form,the computer creates a control and automatically binds the object to it.

A)True

B)False

Q4) When you drag an object from the Data Sources window to an existing control,the computer does not create a new control; rather,it merely binds the object to the existing control.

A)True

B)False

Q5) Write the code to calculate the average price of all of the bicycles in inventory.

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

Chapter 14: Access Databases and SQL

Available Study Resources on Quizplus for this Chatper

60 Verified Questions

60 Flashcards

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

Sample Questions

Q1) Which of the following statements selects the Title and ProductionCo fields from records whose title begins with the word "The" followed by a space and zero or more characters,and then sorts the records in descending order by the ProductionCo field?

A)SELECT Title, ProductionCo FROM tblMovies WHERE Title LIKE 'The %' ORDER BY ProductionCo

B)SELECT Title, ProductionCo FROM tblMovies WHERE Title LIKE 'The %' ORDER BY ProductionCo DESC

C)SELECT Title, ProductionCo FROM tblMovies WHERE Title LIKE 'The *' ORDER BY ProductionCo DESC

D)SELECT Title, ProductionCo FROM tblMovies ORDER BY ProductionCo DESC

Q2) The .xsd file is called the dataset's ____ file.

A)schema

B)layout

C)format

D)standard

Q3) Write a SQL SELECT statement that selects the MemberID,LastName,and FirstName fields for members having a last name that begins with the letter J.

Q4) What is SQL and how is it used?

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

Page 16

Turn static files into dynamic content formats.

Create a flipbook