Visual Programming MCQ PDF
Visual Programming MCQ PDF
https://quizplus.com/study-set/492
15 Chapters
1124 Verified Questions
Visual Programming
MCQ PDF
Cou
Visual Programming introduces students to the fundamentals and applications of
programming with highly interactive and graphical interfaces, rather than relying solely
constructed using visual elements like blocks, nodes, and flowcharts. Students will learn
processes, and data representation through practical projects and activities. Emphasis
is placed on creativity, problem solving, and designing programs that harness visual
Recommended Textbook
C# Programming From Problem Analysis to Program Design 4th Edition by Barbara Doyle
Page 2
Chapter 1: Introduction to Computing and Programming
Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9090
Sample Questions
Q1) ____ is normally part of the analysis phase of software development.
A) Making sure you understand the problem definition
B) Designing a prototype of the desired output
C) Coding the solution using an algorithm
D) Developing an algorithm to solve the problem
Answer: A
Sample Questions
Q1) When you think about a machine that has 60 gigabytes of hard disk space,you can
store 60 million characters.
A)True
B)False
Answer: False
Q2) For a mixed expression equation involving an integer and a double,the result is
a(n)____.
A) error
B) double
C) int
D) float
Answer: B
Q3) The value stored in answer after the following expression is evaluated is int v1 = 10,v2
= 5,ans =3;
Ans += --v1 * v2++;
A) 39
B) 48
C) 57
D) none of the above
Answer: B
To view all questions and flashcards with answers, click on the resource link above.
Page 4
Chapter 3: Methods and Behaviors
Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9092
Sample Questions
Q1) The following members of the Math class,(Round( ),Max( ),Exp( )),must be called
using the class name,because they are all ____.
A) static methods
B) objects
C) predefined methods
D) private methods
Answer: A
Q3) Which method returns the largest whole number less than or equal to the specified
number?
A) Max( )
B) Ceiling( )
C) Floor( )
D) Largest( )
Answer: C
To view all questions and flashcards with answers, click on the resource link above.
Page 5
Chapter 4: Creating Your Own Classes
Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9093
Sample Questions
Q1) A class named River will have a constructor named River.
A)True
B)False
Q3) When you define a class and determine what data members it should have,you are
declaring instance variables or fields that will represent the state of an object.
A)True
B)False
Q5) The return type for constructors is always the type of the class.
A)True
B)False
Page 6
To view all questions and flashcards with answers, click on the resource link above.
Chapter 5: Making Decisions
Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9094
Sample Questions
Q1) What is stored in result when amount is equal to 876?
A) 1
B) 2
C) 3
D) 4
Q2) You cannot use the ____________ statement to test for a range of values.
Q5) String operands can be compared using the relational symbols.They are compared
lexicographically using their Unicode character representation.
A)True
B)False
Page 7
To view all questions and flashcards with answers, click on the resource link above.
Chapter 6: Repeating Instructions
Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9095
Sample Questions
Q1) A state-controlled loop should be designed when you know the number of times the
statements must be executed.
A)True
B)False
Q3) A method that calls itself repeatedly until it arrives at the solution is
a(n)____method.
A) static
B) recursive
C) iterative
D) instance
To view all questions and flashcards with answers, click on the resource link above.
Chapter 7: Arrays
Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9096
Sample Questions
Q1) Because arrays are reference types,the ref keyword is required with the argument
and parameter list.
A)True
B)False
Q2) A parallel array is used to create string arrays because multiple characters are
included within each element.
A)True
B)False
Q6) An entire array collection of data can be ordered alphabetically with a call to the
Array class member method ____________.
Sample Questions
Q1) Which class represents a First-In-First-Out (FIFO)collection,which is useful for storing
objects in the order they were received for sequential processing?
A) Queue
B) HashTable
C) Stack
D) ArrayList
Q2) Which of the following returns the number of columns in a two-dimensional array?
A) Rank
B) GetLength(0)
C) GetLength(1)
D) GetLength
Q3) Multi-dimensional array identifiers are normally defined using a plural noun.
A)True
B)False
Q5) The property ____________ returns the number of dimensions of the array.
Page 10
To view all questions and flashcards with answers, click on the resource link above.
Chapter 9: Introduction to Windows Programming
Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9098
Sample Questions
Q1) Event handlers are ____.
A) processes
B) methods
C) programs
D) references
Q3) Button,Label,TextBox,ComboBox,MenuStrip,ListBox,CheckBox,RadioButton,and
MonthCalendar are all examples of classes.
A)True
B)False
Q4) If you use Visual Studio,most of the standard service plumbing code is added
automatically for you.
A)True
B)False
Q5) Visual Studio automatically imports the System.Windows.Forms namespace for you
when you create a Windows Application Project using the IDE.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above.
Page 11
Chapter 10: Programming Based on Events
Available Study Resources on Quizplus for this Chatper
74 Verified Questions
74 Flashcards
Source URL: https://quizplus.com/quiz/9099
Sample Questions
Q1) ListBox objects have an added feature in that they contain their own text box field as
part of the object.
A)True
B)False
Q2) ____________ objects have an added feature over a ListBox objects that they
contain their own text box field as part of the object,but they allow only a single selection
to be made.
Q3) SelectedItems and ____ properties can be used to retrieve items from a ListBox
object.
A) Selected
B) SelectedItem
C) Name
D) ListBoxItems
Q4) You change the appearance of the tabs for a TabControl object using the ____
Collection Editor.
A) TabPage
B) Controls
C) Properties
D) Text
Features
Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9100
Sample Questions
Q1) Multiple inheritance is not possible in C#;____ provides the closest work around to
this because a class can implement multiple ____.
A) interfaces
B) abstract classes
C) virtual classes
D) components
Q2) Partial classes enable a class to be split into two or more files and combined when
the application is compiled and ran.
A)True
B)False
Q3) ____ contain no implementation details for any of their methods. Instead all their
members are considered abstract.
A) Abstract classes
B) Interfaces
C) Virtual classes
D) Base classes
Q4) Both var and ____________ enables developers to not associate a specific data
type to the actual data when the memory declaration for the variable is written.
To view all questions and flashcards withPage 13 click on the resource link above.
answers,
Chapter 12: Debugging and Handling Exceptions
Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9101
Sample Questions
Q1) Zero or more than one catch clause may be included with a try clause.
A)True
B)False
Q3) If an event that creates a problem happens frequently,it is best to write instructions
to take care of the problem with ____.
A) try...catch clauses
B) conditional expressions
C) exceptions
D) try...catch...finally blocks
Q4) If the current method does not contain an exception handler,that method is halted
and the program terminates immediately.
A)True
B)False
Sample Questions
Q1) After an application is debugged and you are ready to deploy or distribute it,you can
build the most optimized solution,a Release version.To switch to the Release
version,select Release from the Solution Configurations list box on the Standard Visual
Studio toolbar.
A)True
B)False
Q2) The constructor for the StreamWriter class is overloaded to include a Boolean
variable indicating whether this is the first time the file was accessed.
A)True
B)False
Q3) The ____ class has implementations for Write( )and WriteLine( )methods similar to
the Console class methods.
A) StreamWriter
B) Writer
C) TextWriter
D) FileWriter
Q4) The ____________ method of the StreamReader class enables you to retrieve
one line of text from the file.
Q5) Archive is a(n)____________ value for the Attributes property of the File class.
Sample Questions
Q1) The ____________ class can be used to generate SQL statements automatically
so that you do not have to do additional SQL programming beyond the initial SELECT
statement used to retrieve the records.
Q2) The ADO namespace includes a number of classes that allow you to interact with
databases.
A)True
B)False
Q3) You can use the ____________ to edit or write new SQL statements for each of
the SelectCommand,InsertCommand,UpdateCommand,and DeleteCommand's
CommandTexts.
Q4) Included as part of the ____________ namespaces are a number of classes that
can be used to retrieve,manipulate,and update data in databases.
Q5) One of the visual tools that provides a graphical representation of the dataset
object and enables you to set relationships between tables is the ____.
A) Data Sources Wizard
B) Data Designer
C) DataSet Designer
D) Configuration Designer
To view all questions and flashcards with answers, click on the resource link above.
Page 16
Chapter 15: Web-Based Applications
Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9104
Sample Questions
Q1) You cannot use the drag-and-drop construction approach of Visual Studio to
develop Web-based applications.This approach can only be used with Windows
applications.
A)True
B)False
Q2) HTML tags tell the browser how to display text in different formats,whereas XML uses
tags as a format for describing data.
A)True
B)False
Q3) ____ describes the concept of spreading applications over more than one
computer system.
A) Web based applications
B) Centralized computing
C) Web service applications
D) Distributed computing
Q4) Dynamic web pages are pre-created pages,residing on the server's hard drive,and
basically are delivered as HTML documents.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above.
Page 17