CS411 Solved Grand Quiz Spring 2021
Welcome to CS411 Grand Quizzes at VUExamGuide.com – your ultimate destination for 100% Correct Answers! If you are a CS411 student at VU, seeking a reliable study resource to excel in your quizzes and exams, you’ve come to the right place.
Our CS411 Grand Quizzes cover a comprehensive range of topics, meticulously prepared by our expert team to ensure accuracy and depth of understanding. With a focus on database management systems and data modeling, these quizzes will sharpen your knowledge and problem-solving skills in handling and analyzing data.
No more struggling with complex database queries or uncertain solutions! VUExamGuide.com equips you with the tools to excel in CS411. Embrace the knowledge and skills you need to design efficient databases and manage data effectively.
Join us now and embark on a journey of academic excellence with CS411 Grand Quizzes. Prepare to shine and propel yourself towards a brighter future – start exploring VUExamGuide.com today!
![](https://vu.asifali.space/wp-content/uploads/2023/08/Yellow-And-Black-Time-Management-YouTube-Thumbnail-18-1024x576.png)
CS411 SOLVED MCQs
In WFP, if we try to add list box item in list box object which is already null, it will give us
- Runtime exception
- Compile time error
- Syntax error
- Logical error
XML is a stricter version of _________.
- Java
- CSS
- HTML
- C#
Which of these methods used to read strings from the console?
- Get ()
- Get line ()
- Read ()
- Readline ()
Which if the following statement is correct about WPF?
- WPF can use Python language foe designing
- WPF can developed mobile apps
- WPF is resolution independence
- WPF not support declarative programming
The code given bellow is equivalent to __________.
<SolidColorBrush>White</SolidColorBrush>
- <WhiteBrush>MyWhiteBrush</WhiteBrush>
- None of the given option
- <SolidColorBrush Color = “White”/>
- <Brush Style = “Solid White”>
WPF4 was released in _____________.
- 2012
- 2010
- 2005
- 2003
Which of the following event may or may not relate to an actual occurrence?
- Probabilistic Events
- Actual Events
- Real Events
- Expected Events
All elements of WFP have following property/properties.
- Width
- None of the given option
- Height and Width
- Height
_________ is used to declare a class into multiple files and all these files and all these files are combined into a single class file when the application is compiled.
- Inheritance
- Partial class
- Abstract Class
- Property Element
Which of the following is an example of tunnel key event?
- Key up
- Preview key entered
- Preview key down
- Key down
Is SharedSizeScope shares size information in __________grids(s)?
- Multiple
- Single
- Both 1 & 2
- Double
Wait for a single event is ________ operation.
- Waiting
- Waste
- Idle
- Blocking
Which of the following components generates an input Event?
- Printer
- Multi touch
- Plotter
- Speaker
Arrays in C# are __________ objects.
- Logical
- Arithmetic
- Reference
- Value
A language supported by MS. Net platform.
- C
- C++
- Java
- C#
Extra space inside the element in WFP is known as ____________.
- Margin
- Style
- Padding
- Tunneling
Which of the following statements is true about raw events?
- It is introduced into an event processing system by an event procedure.
- It is generated as a result of event processing.
- It is introduced into an event processing system by an event consumer.
- It is a subscription mechanism for events.
Dependency object .Clear Value method clears the ____________ value in a dependency property.
- Default
- Local
- Setter
- Getter
All the members of interfaces are implicitly _______________.
- Private
- Static
- Public
- Abstract
Dock panal is used in _______________ interface.
- Top level
- Bottom level
- Right level
- Left level
The data members of a class by default are?
- Protected ,Public
- Private ,Public
- Public
- Private
The main method returns zero value which indicates the ____________.
- Source of programme
- Successful execution of a program
- Termination of program
- Exception in program
The _______, _______ and ____________ of applications that use events, either directly or indirectly is called event-based programming.
- Model , Code , Operation
- Analyze , Design , Operation
- Code ,operation , Maintain
- Design , Coding , Operation
Silver light is a subset of ____________.
- NET
- Python
- Window Forms
- C++
If we insert some object in a single cell in Grid panel, these objects are placed on ____________.
- One on top of the other
- One after of the other
- One bottom of the other
- One side of the other
A class can inherit from _________class/classes.
- Two
- Single
- Three
- Multiple
If we exclude the mechanism of calling the object through name then:
- Code will not compile
- Code will be difficult to debug
- Code will have an error
- Code will design dependent
Margin defines an extra space ___________while considering edges of the element.
- Between
- Inside
- Outside
- Anywhere
Suppose we want to restrict the user to don not decrease the height of a WPF element from a specific amount then which property will be used?
- Minheight
- None of the given
- Height Minimum
- Minimum Height
Attribute parameter can be either positional parameters or _________ parameters.
- Named
- Static
- Global
- None of the given option
Suppose we have two elements in grid one is bottom and other is rectangle, which property will be helpful to set position of button on top of the rectangle?
- Z index
- Sizing
- Transform
- Stack Panel
_________ Graphics work with shapes.
- Scalar
- Vector
- Both 1 & 2
- None of the given
UI element focusable value is _____________ by default.
- True
- False
- Nil
- Zero
Tag of namespace in XML is just a___________________.
- String
- Integer
- Float
- Property
In which type does the enumerators are stored by the compiler?
- String
- Integer
- Float
- None of the given
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.
- Propdp
- Property extension
- Dpprop
- Dependency property
Suppose we want to restrict the user to don’t increase the height of a WPF element from a specific amount then which property will be used?
- MaximumHeight
- MaxHeight
- None of the given
- HeightMaximum
Which of the following event may or may not relate to an actual occurrence?
- Probabilistic Events
- Actual Events
- Real Events
- Expected Events
Attribute parameter can be either positional parameters or _________ parameters.
- Named
- Static
- Global
- None of the given option
Which of the following keyword is used to monitor exception?
- Finally
- Try
- Throw
- Catch
Which keyword is used to declare the indexers?
- base
- this
- extract
- super
We want the width of button should cover the whole width of SnakPanel in WPF then what should be value of HorizantalAlignment property of button?
- parent
- whole
- fill
- stretch #
Which of these methods used to read strings from the console?
- Get ()
- Get line ()
- Read ()
- Readline ()
Which symbol is used to declare the proposer directives?
- $
- *
- #
- ^
Which method is used to write single byte to the file?
- Write ()
- Write Line()
- Write Byte()
- Write Key()
Graphical user interfaces and the event-driven model are not applied on which of the following?
- Web Application
- Console Application
- Mobile Application
- Desktop Application
______________ Function will register a dependency property in WPF.
- Dependency Property .reg()
- Dependency Property. Registration ()
- Dependency Property. Reiterated()
- Dependency Property. Register()
Derived Event is:
- Introduced into an event processing system by an event consumer.
- Generated as result of event that takes place inside an event processing system.
- Introduced into an event processing system by an even producer.
- A set of associated events.
_____________ Key can be represented as text_ in XAML.
- Protected
- Focus
- Public
- None of the given
Silver light is a subset of ____________.
- NET
- Python
- Window Forms
- C++
Which type of sizing is used in WPF?
- Line
- Percentage
- Proportional
- Element
By convention ________ event names are prefixed with Preview.
- Tunnelling
- Bubbling
- Direct
- None of the given
We use “UIlement” property Clip to Bounds = “false” when _________________.
- We want area child element don’t cross the boundary of parent
- None of given
- We want area of child element is allowed to cross the boundary of parent
- Parent area also increase on increasing of area of child element
The _______________ in the namespace indicate a hierarchy of nested namespaces.
- Arrows
- Dots
- Semicolon
- Brackets
If we want to place a component at top in “dock panel” the in is correct syntax?
- Panel Dock=”Top”
- Dock = “Top”
- Dock Panel .Dock = “Top”
- Dock Panel = “Top”
If we insert some object in a single cell in Grid panel, thru these objects are placed on ____________.
- One on top of the other
- One after of the other
- One bottom of the other
- One side of the other
Which of the following is the object-oriented way to handle run time errors?
- On Error
- Error codes
- Interface
- Exception
The code given bellow is equivalent to __________.
<SolidColorBrush>White</SolidColorBrush>
- <WhiteBrush>MyWhiteBrush</WhiteBrush>
- None of the given option
- <SolidColorBrush Color = “White”/>
- <Brush Style = “Solid White”>
____________ is an entity that receives events from the system.
- Event Producer
- Event Consumer
- Event Channel
- Event Generator
Wait for a single event is ________ operation.
- Waiting
- Waste
- Idle
- Blocking
_________ is used to declare a class into multiple files and all these files and all these files are combined into a single class file when the application is compiled.
- Inheritance
- Partial class
- Abstract Class
- Property Element
<Button. Content> tag in XAML is the syntax for ____________.
- Namespace
- Property Element
- Class
- Form
COOL stands for ____________.
- Class Oriented Object Language
- Consumer Oriented Object Language
- C-like Object Oriented Language
- C++-like Oriented Language
Against ___________ keyword a partial class is generated which we write in C# code.
- X:class
- Xmlns
- <button>
- X:Element
Suppose we have declared a button in XAML as shown in give n code. Choose the correct C# code which gets this button in C#.
<Button x: Name=”okbutton”>OK</Button>
- Button okbutton=(Button)window.( “okbutton”);
- Button okbutton=(Button)window.searchname( “okbutton”);
- Button okbutton=(Button)window.getbutton( “okbutton”);
- Button okbutton=(Button)window.findname( “okbutton”);
Additional XML namespaces (on the root or on children ) must be _________to be used on any identifiers from that namespace.
- Given a common prefix
- Qualified with “Pre” keyword
- Given a distinct prefix
- Qualified with “Ext” keyword
Arrays in C# are __________ objects.
- Logical
- Arithmetic
- Reference
- Value
When your C++ program is compiled, it creates a file called _________
- Assembly
- Exe
- Object
- Class
__________ Property value is used to set width and height of element in WPF according to its content.
- Name
- X:class
- Nan
- Tree
What is the return type of destruction?
- Int
- Float
- Void
- No return types
In context of XAML child element rules, if the parent supports a a#content property and the type of the child is compatible with that property, treat the child as its ____________
- Super class
- Sub class
- Value
- Interface
Event –based programming is also known as:
- Service –oriented architecture(SOA)
- Event – driven Architecture(EDA)
- Service –driven Architecture(SDA)
- Event –based Architecture(EBA)
When a user select element from list box, after selecting compiler marked the selected element as
- Fix
- Selected
- Handled
- Bubble
Design of silver light mostly follows the design of ___________
- C++
- WPF
- Console
- C#
Which of the following is/are not derived from “Control “class?
- ListBox
- Status Bar
- None of the given
- Button
To design a complex interface, which of the following technique is best to achieve the required results?
- Panel composed in three panels
- Panel composed within panels
- Panel composed in two panels
- Panel composed in single panels
In tunnelling, event move from ____________.
- Left to Right
- Right to Left
- Top to Down
- Diagonally
Attribute of a program can be retrieved from its assembly metadata through ____________.
- Static member
- Reflection
- Garbage collector
- Constructor
Clean room design is also called _________.
- Clear Room design
- Wall Technique Design
- Chinese Wall Technique
- French Wall Technique
The code given bellow is equivalent to __________.
<SolidColorBrush>White</SolidColorBrush>
- <WhiteBrush>MyWhiteBrush</WhiteBrush>
- None of the given option
- <SolidColorBrush Color = “White”/>
- <Brush Style = “Solid White”>
If we want to scale an object in the 2-D x-y coordinate system then which transform class will be used?
- Rotate transform
- Matrix transform
- Translate transform
- Skew transform
Clean room design is useful as a defence against __________.
- Copyright
- Trade secret infringement
- Copyright and trade secret infringement
- None of the given
______________ Function will register a dependency property in WPF.
- Dependency Property .reg()
- Dependency Property. Registration ()
- Dependency Property. Reiterated()
- Dependency Property. Register()
The root object in XAML must specify a least ________XML namespace(s) that is/are used to qualify it and any child elements.
- Two
- None of the given
- Four
- One
Anonymous methods __________ the code size.
- Double
- Expand
- Reduce
- Expand
_________ works with Graphics Cards.
- OpenGL
- GDI
- DirectX
- XNA
System .Window .Control.Botton b = new System .Window .Controls. Button ();
b.Content = “OK”;
For the above code (written in C#) the corresponding XAML code will be:
- <Button Xmlns = http://schemes.microsoft.com/winfx/2006/xaml/presentation Content = “OK”/>
- <Button Xmlns =”OK” Content = “ http://schemes.microsoft.com/winfx/2006/xaml/presentation”/>
- <Button Xmlns = http://schemes.microsoft.com/winfx/2006/xaml/presentation Event = “OK”/>
- <Button Xmlns =” http://schemes.microsoft.com/winfx/2006/xaml/presentation” Call = “OK”/>
Which of these methods used to read strings from the console?
- Get ()
- Get line ()
- Read ()
- Readline ()
<Button. Content> tag in XAML is the syntax for ____________.
- Namespace
- Property Element
- Class
- Form
We use “UlElement” property ClipToBounds = “false” when ________________.
- We want area child element don’t cross the boundary of parent
- None of given
- We want area of child element is allowed to cross the boundary of parent
- Parent area also increase on increasing of area of child element
To check that the user either pressed left Alt key or right Alt key, the ______ is used.
- isKeyDown
- is Down
- keyboardDevice.IsKeyDown
- KeyStates.ISKeyDown
Wait for a single event is ________ operation.
- Waiting
- Waste
- Idle
- Blocking
UI element focusable value is _____________ by default.
- True
- False
- Nil
- Zero
XAML specification defines rules that map.”NET” namespaces, types, properties, and events into ___________.
I) XAML namespace
II) XML elements
III) XML Attributes
- (I) Only
- (II) Only
- (I),(II)and (III) only
- (III) Only
Which provider has the highest priority while providing a value to a dependency property?
- Style setters
- Default Value
- Local Value
- Theme Style Setters
- Tunneling
Which of the following statements is true about raw events?
- It is introduced into an event processing system by an event procedure.
- It is generated as a result of event processing.
- It is introduced into an event processing system by an event consumer.
- It is a subscription mechanism for events.
WPF Margin is defines by _________type.
- Thin
- Thinnest
- Thick
- Thickness
Which property is used to change the Z Order of elements in WPF?
- Z-Coordinate
- ZPanal
- ZIndex
- ZValue
If we run the program from within Visual Studio, the console window disappears quickly so we use ____ to keep screen from going away.
- Console .Readline ()
- Console. Write Line()
- Console .Title
- Console .Clear
When parent element space is not enough for the content of child element, this type of situation arises due to __________.
- Short memory
- Content Overflow
- Indexing
- Grid
__________ is a base class similar to UlElement but for document-related pieces of content that don’t have rendering behaviour on their own
- Content Element
- Visual Element
- System Element
- XAMLElement
Which of these of the class String is used to obtain length of string object?
- Get()
- Sizeof()
- Length()
- Length of()
Overloaded operators must be __________.
- Referenced
- Static
- Objective
- Delegates
Which symbol is used to declare the proposer directives?
- $
- *
- #
- ^
Suppose we want to restrict the user to don not decrease the height of a WPF element from a specific amount then which property will be used?
- Minheight
- None of the given
- Height Minimum
- Minimum Height
A (n) ___________ is a reference to a method.
- Delegate
- XAML
- Function
- Constructor
Default value of Grid. Row is _____________
- 0
- 1
- 2
- 3
In XAML 2006, x: AnsyncRecords works on _______thread(s).
- Single
- Multiple
- Both 1 & 2
- None of given
How can you specify null property in mark-up extension?
- (null)
- :null:
- (x:null) NOT SURE
- [x:null]
Dependency object .Clear Value method clears the ____________ value in a dependency property.
- Default
- Local
- Setter
- Getter
- Attributes of a program can be retrieved from its assembly metadata through .
Reflection
- Attached event will be raised by the element while tunneling.
Both 1 & 2
- What is the key feature of Java?
Both (a) and (b)
- The _______and_________of applications that use events, either directly or indirectly is called event-based programming.
Design, Coding, Operation
- All the members of interfaces are implicitly .
Public
- In WPF, if there is any name property then that property is also be taken as a substitute of .
X: static
- In tunneling, event move from .
Top to Down
- Suppose we want to restrict the user to don’t decreases the width of a WPF element from a specific amount then which property will be used?
Min Width
- Overloaded operators must be .
Static
- Which symbols is used to declare the preprocessor directives?
#
- Suppose we have two elements in grid one is button and other is rectangle, which property will be helpful to set position of button on top of the rectangle?
Sizing
- To use kbhit() command, you need to include which header file in your program?
Conio.h
- If we want to scale an object in 2-D x-y coordinate system then which transform class will be used?
Translate Transform
- Superset of canvas is .
Grid
- In event-driven architecture (EDA),________sends event to .
Event Producer, Event Consumer
- The_________________method is used to read the whole file at once.
ReadAllText(“text.txt”)
- In XAML 2006, X:Classmodifier by default access level is .
Public
- XML is stricter version of .
HTML
- XAML is good to concisely represent .
User interface
- allow attaching a handler for an event that is defined in an element other than the one adding the handler.
Tunneling
- The code given below is equivalent to .
<SolidColorBrush>White</SolidColorBrush>
<SolidColorBrush Color=”White”/>
- Wait for single event is_______operation.
Blocking
- How can you specify null property in markup extension?
{x:null}
- Button, listbox and status bar are derived from Control________class in WPF.
Base
- All elements of WPF have following property/properties.
Height and Width
- Which type of sizing is used in Wpf?
Proportional
- In WPF, if we try to add listbox item in listbox object which is already null, it will give us
Compile time error
- Which of these methods used to read strings from the console?
Read line()
- Which of following statement is correct about WPF?
WPF is resolution independence
- WPF4 was released in .
2010
- Which of the following events may or may not relate to an actual occurrence?
Probabilistic Events
- Which of following is an example of tunnel key event?
Preview key down
- IsSharedSizeScope shares size information in ______ grid.
Multiple
- Which of the following components generates an input Event?
Multi Touch
- Arrays in C# are ________ objects.
Reference
- A language supported by MS.Net platform.
C#
- Extra space inside the element in WPF is known as .
Padding
- DependencyObject.ClearValue method clears the__________value in a dependency property.
Local
- All the members of interfaces are implicitly .
Public
- Dock panel is used in_______interface.
Top level
- The data members of a class by default are?
Public
- The Main method returns zero value which indicates the .
Termination of program
- Silverlight is the subset of .
.NET
- If we insert some objects in a single cell in Grid panel, then these objects are placed on
One on Top of the other
- A class can inherit from _________________________ class/classes.
Single
- If we exclude the mechanism of calling the objects through name then.
Code will not compile
- Margin defines an extra space __________________while considering edges of the element.
Outside
- Attributes parameters can be either positional parameters or_______parameters.
Named
- UI elements focusable value is______by default.
True
- Tag of namespace in XML is just a .
Property
- In which type does the enumerators are stored by the compiler?
Integer
- Which of following events may or may not relate to an actual occurrence?
Probabilistic Events
- Which of the following keyword is used to monitor exceptions?
Try
- Which keywords is used to declare the indexers?
This
- Which method is used to write single byte to the file?
WriteLine()
- Derived Events is:
Generated as a result of event that takes place inside an event processing system.
- key can be represented as _text in XAML.
Focus
- Which type of sizing is used in Wpf?
Proportional
- We use “UIElement” property ClipToBounds= “false” when .
We want area of child element is allowed to cross the boundary of parent
- The________in the namespace indicate a hierarchy of nested namespace.
Dots
- If we want to place a components at top in “dockpanel” then which one is correct syntax?
DockPanel.Dock=”Top”
- Which of the following is the object-oriented way to handle run time errors?
Exceptions
- is an entity that receives events from the system.
Events Consumer
- <Button.Content> tag in XAML is the syntax for .
Class
- COOL stands for .
C-like Object Oriented Language
- Against_________keyword a partial class is generated which we written in C# code.
X:class
- When your C# program is compiled, it creates a file called .
Assembly
- Event –based programming is also known as:
Event –driven Architecture (EDA)
- Design of Silverlight mostly follow the design of .
WPF
- Which of following is not derived from “Control” class?
None of the given
- To design a complex Interface, which of the following technique is best to achieve the required results?
Panels composed within panels
- In tunneling, event move from .
Top to Down
- Clean room design is useful as defense against .
Copyright and trade secret infringement
- Anonymous methods_________the code size.
Reduce
- _________works with Graphic Cards.
GDI
- To check that the user either pressed left Alt key or right Alt key, the________is used.
keyboardDevice.IskeyDown
- Wait for a single event is_______operation.
Blocking
- WPF Margin is defined by type.
Thickness
- Which property is used to change the Z Order of elements in WPF?
ZIndex
- Which of these methods of the class String is used to obtain length of string object?
Length()
- Overloaded operators must be .
Static
- A is a reference to a method.
Delegate
- Default value of Grid.Row is .
0
- Which of the following is an example of tunnel key event?
Preview key down
- Which of the following components generates an input event?
Multi Touch
- Which method is used to write single byte to the file?
WriteLine()
- Additional XML namespaces must be to be used on any identifiers from that namespace.
Given a distinct prefix
- System. Windows. Controls. Button b = new System. Windows. Controls. Buttons();
Content = “OK”;
for the above code (written in C#) the corresponding XAML code will be:
<Button xmlns=https://schemas. Microsoft. Com/winfx/2006/xaml/presentation content=”OK”/>
- XAML specification defines rules that map”.NET” namespaces, types, properties and events into .
- XML namespaces
- XML elements
- XML Attributes
(1), (2) and (3) only