Thursday , 21 November 2024

CS410

CS410 Solved Quizs today Fall 2012

Question ______________ inserts a WM_QUIT message in the program’s message queue. Select correct option: PostQuitMessage (0) WM_TIMER KillTimer () DispatchMessage () Question DOS boxes are also called ___________ Select correct option: Main Window Console Window Dialogue Box Arrays Question Result of _________________ of two bits is TRUE (1) if only if both are TRUE (1) Select correct option: OR (I) …

Read More »

CS410 Assignments # 5 Solution Spring 2012

As it is considered that many of the students don’t have knowledge of basic windows program. So, a very simple 5th assignment is announced to practice. See the ppt slide of Lecture 28. An example of Small WinSock application example, at slide 4 to slide 14. All the code of the example is given in slide.   You have to …

Read More »

CS410 Assignments # 4 Solution Spring 2012

Task 1: (Marks = 2) Draw a simple Window using ‘windows.h’ Task 2: (Marks = 8 (1 + 1 + 2 + 2 + 2)) When program will execute, 1 – Windows Title Bar has text as your VU ID. 2 – In client area, first line of the windows have your name as Name = XYZ       *Replace XYZ with …

Read More »

CS410 Assignments # 3 Solution Spring 2012

You are required to draw a window just like notepad. Screen Shot is given below; Task 1: (5 Marks = 1 + 1 + 1 + 1 + 1) You have to design menus as present in notepad software, but functionality is not required (only menus). Some of the submenus are disabled at first run of notepad. You also designed …

Read More »

CS410 Assignments # 2 Solution Spring 2012

Question # 01: [Marks: 02] We initialize Owner structure, in Assignment No 1, as below; owner1 = {“Ali Hussain”, “Muhammad Hussain”, “XYZ, Lahore”, “N/A”, 12, 12,2012, “4-Wheel”, “Honda”, “BR-29536”, “LEV-0012”, 2011, 72000, Vehicle::Van}; Why we are unable to assign a direct value in last attribute of initialization list (enum Vehicle_Class)? (In Bold text). Provide reason in 2 – 3 lines …

Read More »

CS410 Assignments # 1 Solution Spring 2012

We are going to write a program of Vehicle Registration System. Follow the instructions / problem set below for assignment; 1 – There are two (2) structures in a program named as Vehicle and Owner.   2 – Variables in Vehicle structure are; Structure of Vehicle   Attribute Name Data Type Example vehicle-type char 2 wheel, 3 Wheel, 4 wheel …

Read More »