- Type
- Midterm past paper
- Course
- CS411 Visual Programming
- Size
- PDF 6.4 MB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
Preview text
Text from pages 2, 3, 4 of 66. Download the file for all 66 pages.
Q1. Vu-Topper RM (1 marks)
Type converters in WPF are similar to _______. A. Namespaces
B. Markup extensions
C. Multimedia Integration D. Rich compositions
Q2. Vu-Topper RM (1 marks)
Which one of the following is the correct C# code to create a button in WPF project?
A.System. Windows. Controls. Buttonb=new System. Windows. Controls. Button();b.Content = "OK";
B. System. Forms. Button b = new System. Forms. Button();b.Content = "OK"; C.System. Forms. Windows. Buttonb=newSystem. Forms. Windows. Button ();b.Content = "OK"; D. System. Windows. Button b = new System. Windows. Button(); b.Content = "OK";
Q3. Vu-Topper RM (1 marks)
CAML stands for __________ A. Centralized Application Markup Language B. Composite Application Markup Language C. Compiled Application Matrix Language
D. Compiled Application Markup Language Page 68
Q4. Vu-Topper RM (1 marks)
_________ element is used in XAML to embed the C# code in XAML file. A. X:Name B. X:Content C. X:Button
D. X:Code
Q5. Vu-Topper RM (1 marks)
The process in which we link the WPF element data to any external source is known as _______ A. Property Value Inheritance B. Abstract Class
C. Data Binding
D. Element Declaration
Q6. Vu-Topper RM (1 marks)
Suppose, we want to change the color of button to Black, as soon as mouse enters it. For that we have declared the button in C# code as Button b = sender as Button; Now, what will be the correct way to change the foreground color of a button according to above mentioned specifications? (Note: Suppose the code is being written in the event handler Button_mouseenter as specified by its corresponding XAML) A. b = color.black;
B. b.Foreground = Brushes. Black;
C. b.color= black; D. color = b.black;
Q7. Vu-Topper RM (1 marks)
Suppose, the property of x coordinate of the button timely changes in such a way that after every 100 seconds value of x coordinate increments by 1, then this case refers to ____________
A. Animation
B. Transformation C. Property Element D. Tunneling
Q8. Vu-Topper RM (1 marks)
Which of the following property will be used to restrict the user to not increase the width of a WPF element from a specific value?
Correct answer: MinWidth
Q9. Vu-Topper RM (1 marks)
Which will take precedence in sizing if explicit given width and height values of WPF application are not in range?
Correct answer: Min, max (default values)
Q10. Vu-Topper RM (1 marks)
Exceptions are derived from ________ class. A. Error. Exception B. Windows. Error C. Exception. Error
D. System. Exception
Q11. Vu-Topper RM (1 marks)
By default, the data members of a class are ___________ A. Private, Public
B. Private
C. Protected, Public D. Public
Q12. Vu-Topper RM (1 marks)
Event-based programming is also known as: A. Event-based Architecture (EBA)
Related CS411 files
All CS411 files →Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.