CS411 Midterm Solved MCQs With References by Moaaz
CS411 Midterm Solved MCQs With References by Moaaz
https://www.facebook.com/groups/VUsolvedPapers/
1. Only one
2. No
3. Few
4. All
1. Common
2. Specialized
3. Unique
4. Different
1
https://www.facebook.com/groups/VUsolvedPapers/
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
Question No: 21 ( Marks: 1 ) - Please choose one
Writing higher-level functions that call upon lower-level functions _________ a program.
Decode
Harder
Refactor
Simplify
Question No: 22 ( Marks: 1 ) - Please choose one
Which statement is True?
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
Question No: 23 ( Marks: 1 ) - Please choose one
Attributes of a program can be queried at run time through ____________.
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)
6
https://www.facebook.com/groups/VUsolvedPapers/
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
7
https://www.facebook.com/groups/VUsolvedPapers/
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
9
https://www.facebook.com/groups/VUsolvedPapers/
Request
Response
Coupling
Decoupling (Page 10)
Java
CSS
HTML (Page 47)
C#
May
Cannot click here 4 more detail
May not
Can
Question No: 49 ( Marks: 1 ) - Please choose one
BAML is compressed representation of _________.
CAML:NS
XAML (Page 71)
XAML:NS
CAML
10
https://www.facebook.com/groups/VUsolvedPapers/
Math class
Program class
String class
MyUtills class (Page 53)
Question No: 52 ( Marks: 1 ) - Please choose one
XAML specification defines rules that map ".NET" namespaces, types, properties, and events into _________.
I) XML namespaces II) XML elements III) XML Attributes
(I) Only
(II) Only
(I), (II) and (III) only (Page 63)
(III) Only
Question No: 53 ( Marks: 1 ) - Please choose one
Visual Studio has a snippet called __________ that automatically expands into a definition of a dependency
property, which makes defining one much faster than doing all the typing yourself!
two
three
four (Page 93)
one
Question No: 56 ( Marks: 1 ) - Please choose one
WPF4 was released in
2012
2010 Click here for detail
2005
2003
Question No: 57 ( Marks: 1 ) - Please choose one
_________ allows to keep the user interface description and implementation separate.
GDI
WPF (Page 61)
Avalon
Altia
Question No: 58 ( Marks: 1 ) - Please choose one
When the data is passed from one place to another in chunks, this data is called ____________.
Bits
Line
Byte
Stream
Question No: 59 ( Marks: 1 ) - Please choose one
We want the width of button should cover the whole width of StackPanel in WPF then what should be value of
HorizontalAlignment property of button?
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)
Super class
Sub class
Value (Page 68)
Interface
Question No: 66 ( Marks: 1 ) - Please choose one
Mapping to the WPF namespaces is ______________ in-side the WPF assemblies.
Loutish
Polished (Page 61)
Coarse
Distracted
Question No: 68 ( Marks: 1 ) - Please choose one
The ___________ method is used to read the whole file at once.
Rearranged
Re-created
Re-themed(Page 61)
Rejected
14
https://www.facebook.com/groups/VUsolvedPapers/
Dynamic class
Normal class
String class
Static class Click here for detail
Width
None of given options
Height and Width
Height
Question No: 76 ( Marks: 1 ) - Please choose one
If we exclude the mechanism of calling the objects through name then:
PanelDock="Top"
Dock="Top"
DockPanel.Dock="Top" (Page 93)
DockPanel="Top"
https://www.facebook.com/groups/VUsolvedPapers/
16