Skip to content
VUBuddy

CS411 Midterm MCQs Updated by VU Topper RM

Visual Programming PDF 6.4 MBUpdated 23 Oct 2026
Midterm past paper CS411 Midterm MCQs Updated by VU Topper RM PDF 6.4 MB
vubuddy.com
Type
Midterm past paper
Course
CS411 Visual Programming
Size
PDF 6.4 MB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 6.4 MB

You get 3 free files a day on the website. Add the Chrome extension for 30 a day.

Unlimited downloads in the Android app Get it free on Google Play

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?

  1. DecreaseWidth
  2. WidthMinimum
  3. MinWidth
  4. MinimumWidth

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?

  1. Width = 0, height =0
  2. Width = -1, height =-1
  3. Explicit width, height values
  4. Min, max (default values)

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)

All CS411 files →
CS411 Visual Programming All CS411 handouts, past papers, quizzes and MCQs in one place. Open course page

Get more out of VUBuddy, for free

Android app Free on Google Play
  • Unlimited downloads
  • The explanation behind every MCQ answer
  • Study offline on slow data
Get the Android app
Chrome extension Free on the Chrome Web Store
  • 30 downloads a day instead of 3
  • Sign in and buy Pro Semester here
Add to Chrome

One Pro Semester membership works in both the extension and the app.