CS411 - Midterm Solved MCQs With References by Moaaz
CS411 - Midterm Solved MCQs With References by Moaaz
https://www.facebook.com/groups/VUsolvedPapers/
Question No: 1 ( Marks: 1 ) - Please choose one
Event-based programming is also known as:
1. Only one
2. No
3. Few
4. All
1. Common
2. Specialized
3. Unique
4. Different
https://www.facebook.com/groups/VUsolvedPapers/
1
Question No: 5 ( Marks: 1 ) - Please choose one
Indexers are similar to properties, but are accessed via a/an____________rather than a property name.
1. Local
2. Static
3. Virtual
4. Global Click here 4 detail
1. Complied File
2. Source File
3. Assembly File (Page 41)
4. EXE File
1. COAL
2. COOP
3. COAP
4. COOL (Page 13)
https://www.facebook.com/groups/VUsolvedPapers/
2
Question No: 10 ( Marks: 1 ) - Please choose one
The Main method returns a non-zero value which indicates the_____________.
1. Source of Program
2. Error in Program Click here 4 more detail
3. Termination of Program
4. Exception in Program
1. Clearance
2. Errors
3. Meta Data (Page 40)
4. Ambiguity
1. Waiting
2. Waste
3. Idle
4. Blocking (Page 8)
1. fstream.h
2. stdio.h
3. iostream.h
4. conio.h Click here 4 more detail
https://www.facebook.com/groups/VUsolvedPapers/
3
Question No: 15 ( Marks: 1 ) - Please choose one
__________let any classes behave like an array.
1. Properties
2. Fields
3. Indexers (Page 29)
4. Finalizers
1. Private
2. Static
3. Public (Page 34)
4. Abstract
1. Attribute
2. Anonymous (Page 46)
3. None of given
4. Non-Anonymous
Object
Event (Page 7)
Result
Message
https://www.facebook.com/groups/VUsolvedPapers/
4
Question No: 20 ( Marks: 1 ) - Please choose one
_____________ is an entity that receives events from the system.
Event Producer
Event Consumer (Page 11)
Event Channel
Event Generator
Decode
Harder
Refactor
Simplify
A "catch" block always executes whether or not an exception is thrown and whether or not the "try" block runs
to completion.
A "finally" block executes only, when an exception is thrown and when the "try" block runs to completion.
A "finally" block may or may not executes whether or not an exception is thrown and whether or not the "try"
block runs to completion.
A "finally" block always executes whether or not an exception is thrown and whether or not the "try"
block runs to completion. Click here 4 detail
Attributes
Compiler
Exception Handling
Breakpoints (Page 47)
5
Question No: 25 ( Marks: 1 ) - Please choose one
The ______, _________ and __________of applications that use events, either directly or indirectly is called
event-based programming.
Copyright
Trade secret infringement
Copyright and trade secret infringement (Page 13)
None of the given options
Reliability
Stability
Inconsistency (Page 40)
Consistency
Arrows
Dots
Semicolon
Brackets (Page 22)
https://www.facebook.com/groups/VUsolvedPapers/
6
Question No: 30 ( Marks: 1 ) - Please choose one
If we run the program from within Visual Studio, the console window disappears quickly so we can use
________________ to keep screen from going away.
Event Channel
Event Stream
Event Consumer
Event Producer (Page 11)
Interface
Delegate Click here 4 detail
Class
Struct
Deleting Events
Reading Events
Terminating Events (Page 8)
Transforming Events
https://www.facebook.com/groups/VUsolvedPapers/
7
Question No: 35 ( Marks: 1 ) - Please choose one
An event is a list of___________
constants
variable
pointers
delgates
Platform, Language
Package, Language
Language, Package
Language platform (Page 13)
Double
Expand
Reduce (Page 46)
Extend
Dev C++
Unix based system
Windows based system
None of the given options
Two
Single Click here 4 detail
Three
Multiple
https://www.facebook.com/groups/VUsolvedPapers/
8
Question No: 40 ( Marks: 1 ) - Please choose one
Which of the following events may or may not relate to an actual occurrence?
Code Block
Method Block
Routine Block
Statement Block Click here for detail
Web Applications
Console Applications
Mobile applications
Desktop Applications
Structure
Class (Page 14)
Namespace
Library
https://www.facebook.com/groups/VUsolvedPapers/
9
Question No: 45 ( Marks: 1 ) - Please choose one
Events are based on the principle of ____________.
Request
Response
Coupling
Decoupling (Page 10)
Java
CSS
HTML (Page 47)
C#
May
Cannot click here 4 more detail
May not
Can
CAML:NS
XAML (Page 71)
XAML:NS
CAML
https://www.facebook.com/groups/VUsolvedPapers/
10
Question No: 50 ( Marks: 1 ) - Please choose one
In context of XAML child element rules, if the child is plain text and a type converter exists to transform the
child into the parent type (and no properties are set on the parent element), treat the child as the input to the
type converter and use the output as the __________.
Math class
Program class
String class
MyUtills class (Page 53)
(I) Only
(II) Only
(I), (II) and (III) only (Page 63)
(III) Only
two
three
four (Page 93)
one
2012
2010 Click here for detail
2005
2003
GDI
WPF (Page 61)
Avalon
Altia
Bits
Line
Byte
Stream
Parent
Whole
Fill
Stretch (Page 97)
12
Question No: 60 ( Marks: 1 ) - Please choose one
Which of the following is/are not derived from “Control” class?
ListBox
StatusBar
None of the given (Page 73)
https://www.facebook.com/groups/VUsolvedPapers/
13
Question No: 65 ( Marks: 1 ) - Please choose one
In context of XAML child element rules, if the parent supports a content property and the type of the child is
compatible with that property, treat the child as its __________.
Super class
Sub class
Value (Page 68)
Interface
Loutish
Polished (Page 61)
Coarse
Distracted
Rearranged
Re-created
Re-themed(Page 61)
Rejected
https://www.facebook.com/groups/VUsolvedPapers/
14
Question No: 70 ( Marks: 1 ) - Please choose one
Additional XML namespaces (on the root or on children) must be ______ to be used on any identifiers from
that namespace.
Dynamic class
Normal class
String class
Static class Click here for detail
15
Question No: 75 ( Marks: 1 ) - Please choose one
All elements of WPF have following property/properties.
Width
None of given options
Height and Width
Height
PanelDock="Top"
Dock="Top"
DockPanel.Dock="Top" (Page 93)
DockPanel="Top"
https://www.facebook.com/groups/VUsolvedPapers/
16