0% found this document useful (0 votes)
8 views17 pages

Visual Programming MCQ PDF

Visual Programming MCQ PDF available on Quizplus.com. The resource URL is https://quizplus.com/study-set/492-c-programming-from-problem-analysis-to-program-design

Uploaded by

6bjhqasfbl
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views17 pages

Visual Programming MCQ PDF

Visual Programming MCQ PDF available on Quizplus.com. The resource URL is https://quizplus.com/study-set/492-c-programming-from-problem-analysis-to-program-design

Uploaded by

6bjhqasfbl
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 17

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

on traditional text-based code. The course explores visual programming

environments—such as Scratch, Blockly, or LabVIEW—where logic and algorithms are

constructed using visual elements like blocks, nodes, and flowcharts. Students will learn

core programming concepts including variables, control structures, event-driven

processes, and data representation through practical projects and activities. Emphasis

is placed on creativity, problem solving, and designing programs that harness visual

approaches to coding, making programming more accessible and intuitive.

Recommended Textbook
C# Programming From Problem Analysis to Program Design 4th Edition by Barbara Doyle

Available Study Resources on Quizplus


15 Chapters
1124 Verified Questions
1124 Flashcards
Source URL: https://quizplus.com/study-set/492

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

Q2) In a C# program,namespace is used to ____.


A) display information on the monitor
B) identify where the program begins
C) add a reference to the most common classes in .NET
D) group functionally related types under a single name
Answer: D

Q3) Comments are considered instructions to the computer.


A)True
B)False
Answer: False

Q4) The Framework Class Library (FCL)includes a number of different __________.


Answer: namespaces

Q5) A(n)______________ is a user-supplied or user-created name.


Answer: identifier
Page 3
To view all questions and flashcards with answers, click on the resource link above.
Chapter 2: Data Types and Expressions
Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9091

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

Q2) The return type for the method above is ____.


A) public
B) static
C) void
D) Main( )
Answer: C

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

Q2) The default constructor normally has an empty body.


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

Q4) To add full functionality to your classes,____.


A) write more than one constructor
B) write a default constructor
C) write at least five constructors for each class
D) omit writing a constructor so that the default one will be created for you

Q5) The return type for constructors is always the type of the class.
A)True
B)False

Q6) Constructors are used to ____________ a class.

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.

Q3) The equality operator in C# is ____.


A) =
B) !=
C) ==
D).equals

Q4) With the precedence rules or order of operations,____________ operators are


always listed at the bottom of the hierarchy.

Q5) String operands can be compared using the relational symbols.They are compared
lexicographically using their Unicode character representation.
A)True
B)False

Q6) With a switch statement,if no match is made,the statements associated with


____________ are executed.

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

Q2) The event-driven model used to create Windows applications ____.


A) uses a counter-controlled form of loop
B) uses a state-controlled form of loop
C) uses a sentinel-controlled form of loop
D) handles the repetition for you

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

Q4) The third programming construct repetition is also called ____________.

Q5) Class diagrams show the data,method,and property members of a class.


A)True
B)False

Q6) A(n)____________ is a loop that has


Pageno8provisions for termination.

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

Q3) To access an array element,you must specify which element is to be retrieved by


placing an index inside ____________ following the array identifier

Q4) The first element of an array is always referenced by index ____________.

Q5) With the declaration above,price[5] generates a runtime error.


A)True
B)False

Q6) An entire array collection of data can be ordered alphabetically with a call to the
Array class member method ____________.

Q7) Elements in an array are sometimes referred to as ____________ variables.

Q8) Use the ____________ keyword to instantiate an object of an array.


Page 9
To view all questions and flashcards with answers, click on the resource link above.
Chapter 8: Advanced Collections
Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9097

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

Q4) Console.WriteLine(calories.GetUpperBound(0));returns the largest value in an array.


A)True
B)False

Q5) The property ____________ returns the number of dimensions of the array.

Q6) Like traditional arrays,indexes of ArrayList objects are ____________.

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

Q2) When a button is clicked by a user,its ____________ is automatically called up.

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

Q5) The default event-handler method for CheckBox objects is ____________.


Page 12
To view all questions and flashcards with answers, click on the resource link above.
Chapter 11: Advanced Object-Oriented Programming

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

Q2) Writing a catch clause without an argument list ____.


A) is the same as writing catch (System.Exception)
B) is the same as writing a finally block
C) is the same as writing catch (Application.Exception)
D) creates a syntax error

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

Q5) A(n)____________ error is associated with a language rule violation.

To view all questions and flashcards withPage


answers,
14 click on the resource link above.
Chapter 13: Working with Files
Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9102

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.

To view all questions and flashcards withPage


answers,
15 click on the resource link above.
Chapter 14: Working with Databases
Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9103

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

You might also like