Classical

Windows Programming MCQ - Windows Programming

6:  

The arguments of the WinMain() function are mandatory and it is required that they communicate with:

A.

 Operating System

B.

Hardware

C.

 Kernel

D.

None of these

 
 

Option: A

Explanation :


7:  

The Win32 library provides two classes for creating the main window. These are 

A.

WNDCLASS and WNDCLASSX 

B.

WINBASE and WINNT

C.

WINMAIN and WINCLASS

D.

None of these

 
 

Option: A

Explanation :


8:  

Win32Program utilizes a central function for creating Windows  called

A.

Main

B.

 App

C.

WinMain

D.

None of these

 
 

Option: C

Explanation :


9:   The correct syntax of Winmain function is
A. WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow )
B. INT WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow );
C. INT WINAPI WinMain (HINSTANCE hInstance HINSTANCE hPrevInstance, LPSTR lpCmdLine, real nCmdShow );
D. None of these
 
 

Option: B

Explanation :

The correct syntax of Winmain function is '>
10:  

Choose the incorrect statement wrt to Winmain syntax 

a) The first argument, hInstance, is a handle to the instance of the program you are writing.

b) The second argument, hPrevInstance, is used if your program had any previous instance. This argument can not  be ignored.

c) The third argument, lpCmdLine, is a string that represents all items used on the command line to compile the application.

d) The last argument, nCmdShow, controls how the window you are building will be displayed.

A.

a

B.

b

C.

c

D.

d

 
 

Option: B

Explanation :

The second argument, hPrevInstance, is used if your program had any previous instance. If not, this argument can be ignored, which will always be the case.




Suggest an improvement

 


Syllabus covered in this section is-

  • Introduction to Windows programming-Win32
  •  Microsoft Foundation Classes (MFC).Documents and views
  •  Resources, Message handling in windows.
  • Simple Applications (in windows)
  • Scrolling. Splitting views, docking toolbars. Status bars. Common dialogs.
  • Advanced Windows Programming
  • Multiple Document Interface (MDI).
  • Multithreading
  • Object linking and Embedding (OLE).
  • Active X controls
  • Active Template Library (ATL)
  • Network programming

This Section covers WINDOWS PROGRAMMING Questions Answers .These questions can be used for the preparation of various competitive and academic exams like

  • UGC NET Computer Science
  • GATE Computer Science
  • Pre PhD Entrance Exam
  • DOEACC Exams
  • Kendriya Vidyalaya Sangathan Entrance Exam
  • Undergraduate Computer Science Examinations
  • Post Graduate Computer Science Test
  •  PhD Entrance Exam
  • Computer Engineering
  • National Eligibility Test (NET)
  • State Eligibility Test (SET)

Who can benefit

  • Windows Programming Objective Questions Answers can be used by any student who is preparing for PhD entrance exam, pre PhD entrance exam, entrance exam or any other such exam.
  • Any student who is preparing for DOEACC exams can also use Windows Programming questions answers for preparation of his exams.
  • Windows Programming  mcq can be useful for the students who are pursuing any undergraduate or post graduate degree in computer science like BE, ME , Btech, Mtech, .BSc, MSc, BCA, MCA, BS, MS  or any other such degree
  • Windows Programming mcq with answers and explanation can also be useful for the students who are preparing for any competitive exam or recruitment exams like UGC NET Computer Science, Kendriya Vidyalaya Sangathan PGT exam, PSU, IES or any other such exam.
  • Windows Programming Operating System is an Elective subject for UGC NET Computer Science.
  • Windows Programming multiple choice questions answers can also be used by any candidate who wants to gain credits in Windows Programming in BS Computer science or MS Computer science.
  • Windows Programming mcq questions answers can be used for the preparation of National Eligibility Test (NET) and State Eligibility Test (SET).
  • You can download Windows Programming mcq pdf from this site.
  • You can get access to Windows Programming multiple choice questions answers EBook.

Various Search Terms Used For This Section Are

  • Windows Programming Quiz Questions With Answers

  • Windows Programming Exam Questions Answers

  • Windows Programming Mcq Questions Answers

  • Windows Programming Mcq Pdf Download