Skip to main content

Visual Programming MCQs with Answers

Practice important Visual Programming MCQs with answers and explanations.

Multiple Choice Questions

Q281: What does the Person class in the example use reflection for?
  • A: To save settings to a file
  • B: To load and save properties
  • C: To create new directories
  • D: To manage file metadata
View Answer
B

Q282: How is a new Person object saved to the file in the example?
  • A: By writing each property to a file
  • B: By creating a new file
  • C: By updating an existing file
  • D: By renaming the file
View Answer
A

Q283: What is the main purpose of PropertyInfo in the Person class example?
  • A: To list all methods
  • B: To set and get property values
  • C: To handle file operations
  • D: To manage file metadata
View Answer
B

Q284: When was WPF first publicly announced?
  • A: 1995
  • B: 2000
  • C: 2003
  • D: 2005
View Answer
C

Q285: What was the codename for WPF before its public announcement?
  • A: Avalon
  • B: AvalonX
  • C: Avalon 2
  • D: Windows Presentation
View Answer
A

Q286: What is a key feature of WPF regarding UI development?
  • A: Mixing UI with program logic
  • B: Separation of UI description and implementation
  • C: Hardcoded UI themes
  • D: Fixed UI design
View Answer
B

Q287: What is the primary advantage of WPF over Win32 style programming?
  • A: Better hardware support
  • B: More complex code
  • C: Easier re-theming of user interfaces
  • D: Direct manipulation of graphics
View Answer
C

Q288: Which UI library introduced in the 1980s is considered an earlier version of GDI+?
  • A: GDI
  • B: OpenGL
  • C: DirectX
  • D: GDI+
View Answer
A

Q289: What does WPF use for its rendering pipeline?
  • A: OpenGL
  • B: Direct3D
  • C: GDI
  • D: GDI+
View Answer
B

Q290: What is a notable feature of WPF in terms of graphics?
  • A: Resolution independence
  • B: Bitmap-based graphics
  • C: Only 2D graphics
  • D: Limited hardware acceleration
View Answer
A

Test Your Knowledge

Take a timed quiz on Visual Programming

🚀 Start Quiz Now