KING'S IT WORLD
please register to watch content in detail
THANKS
ADMIN KINGSIT WORLD
KING'S IT WORLD
please register to watch content in detail
THANKS
ADMIN KINGSIT WORLD
KING'S IT WORLD
Would you like to react to this message? Create an account in a few clicks or log in to continue.

KING'S IT WORLD


 
HomeHome  GalleryGallery  SearchSearch  Latest imagesLatest images  RegisterRegister  Log inLog in  
Search
 
 

Display results as :
 
Rechercher Advanced Search
kings it world text ad
KINGSITWORLD CALENDAR
Follow me on G+
KINGSITWORLD WEATHER
Latest topics
» QURAN MAJEED KE TAFSEER
CS410  2010 Icon_minitimeMon Aug 20, 2012 2:59 am by YOUSUFHALI

» PHY301 CIRCUIT THEORY REFERENCE BOOK
CS410  2010 Icon_minitimeWed Jul 25, 2012 11:36 am by shabbir1915

» MTH202 ASSIGNMENT NO 3 SOLUVED
CS410  2010 Icon_minitimeMon Jun 11, 2012 9:51 am by jaffarhussain

» Retrieve the DTC In the Jewel Module of 1995 Ford
CS410  2010 Icon_minitimeThu May 31, 2012 11:51 am by obd2tool

» How you can Obvious the Check Engine Light on the
CS410  2010 Icon_minitimeThu May 31, 2012 11:43 am by obd2tool

» send free sms and send free sms update on facebook
CS410  2010 Icon_minitimeTue May 15, 2012 8:33 pm by rizwan269

» United Bank Limited (UBL) - Fee Deposit
CS410  2010 Icon_minitimeThu May 10, 2012 3:33 pm by irumnaz

» PHOTO MIXER SOFTWARE
CS410  2010 Icon_minitimeFri Apr 20, 2012 10:02 am by sacredwkb

» Entrepreneurship Survey
CS410  2010 Icon_minitimeThu Mar 08, 2012 2:20 pm by Admin

» Fall 2011 Semester Result Announced
CS410  2010 Icon_minitimeThu Mar 08, 2012 2:19 pm by Admin

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
kings it world text ad
Social bookmarking
Social bookmarking reddit      

Bookmark and share the address of KING'S IT WORLD on your social bookmarking website

Bookmark and share the address of KING'S IT WORLD on your social bookmarking website
visitors counter
CS410  2010 Image
Powered by website analytics technology.
Keywords
assignment 2010 2011 HRM611 final MGT502 term paper MGMT611
kings it world text ad
FLAG COUNTER
free counters
LIVE TRAFFIC

 

 CS410 2010

Go down 
AuthorMessage
Admin
Admin
Admin


Scorpio
Posts : 638
Points : 2155
Reputation : 19
Join date : 2010-05-15
Age : 36
Location : islamabad

CS410  2010 Empty
PostSubject: CS410 2010   CS410  2010 Icon_minitimeFri May 28, 2010 10:55 pm

Total 16 MCQ’s and 7 questions



1) In which conditions PAINT function never sent? (2 marks)

2) Write any two responsibilities of GDI? (2 marks)

3) How do we copy a text from one text editor to another text editor? (2 marks)

4) Write benefits of Assertion? (3 marks)

5) How do we declare two pointers at the same line? (3 marks)

6) Write the _cdecl calling convention implementation of the following? (5 marks)

o Argument-passing order (1 mark)

o Stack-maintenance responsibility (2 marks)

o Name-decoration convention (2 marks)

7) What GetParent function can handle? What value it returns? (5 marks)
Back to top Go down
Admin
Admin
Admin


Scorpio
Posts : 638
Points : 2155
Reputation : 19
Join date : 2010-05-15
Age : 36
Location : islamabad

CS410  2010 Empty
PostSubject: Re: CS410 2010   CS410  2010 Icon_minitimeTue Jun 01, 2010 4:33 pm

Identifier is not replaced if it appears
► In a comment
► With in a string
► As a part of a long identifier
► All of given
__________ macro expands to the constant 1, to signify that this compiler conforms to ISO standard C. 42
► _STD_
► _STDC_
► _STDC_
HOSTED_

GDI presents a ?
• device-independent view
• device-dependent view

Widow operating system do not do
• Direct memory access
• Direct access video port
• Direct memory interrupt (I thins this is correct but not sure )
• None of the above
None of the above
char * const ptr = buff.
• constant pointer to variable data• variable pointer poit to the constant pointer

Command line argument pass the arg variable ……………………function in the program
• Main(not sure)
• Window
• Virtual
• None of the above
GDI is a subsystem responsible for displaying text and images on display devices and printers
True
False

Types of Subclassing 2 marks
Solution
Instance and globle


What are assertion types? 3 marks
Solution
Preconditions
• Specify conditions at the start of a function.

Post conditions
• Specify conditions at the end of a function.

Invariants
• Specify conditions over a defined region of a program.



what is the pre processor directories. 3 marks

Preprocessor
The preprocessor is a program that runs prior to compilation and potentially modifies a source code file. It may add code in response to the #include directive, conditionally include code in response to #if, #ifdef, #ifndef directives or define constants using the #define directive.
As defined by the ANSI standard, the C preprocessor contains the following directives:

#if #ifdef #ifndef #else #elif #include #define #undef #line #error #pragma
Preprocessor directives: #ifdef and #ifndef
The #ifdef (if defined) and #ifndef (if not defined) preprocessor commands are used to test if a preprocessor variable has been "defined".

Role of Kernel OS 5 marks
Solution
Kernel is a main module of the operating system. This provides system services for managing threads, memory, and resources.
Kernel has to perform very important responsibilities e.g.

1. Process Management
2. File Management
3. Memory Management (System and Virtual Memory)

In Windows Operating System Kernel is implemented in the form of Kernel32.dll file.
The Kernel is responsible for scheduling and synchronizing threads, processing, exception and interrupts. Loading applications and managing memory. Kernel is responsible for the system stability and efficiency

When an application subclasses a window, it can take three actions with the
Message ? 5 marks
When an application subclasses a window, it can take three actions with the
message: (1) pass the message to the original window procedure; (2) modify the message and pass it to the original window procedure; (3) not pass the message.
The application subclassing a window can decide when to react to the messages it receives. The application can process the message before, after, or both before and after passing the message to the original window procedure.
At least write two task of GDI Perform ? 2 marks
Solurion
GDI is a subsystem responsible for displaying text and images on display devices and printers

Three condition of sending WM_Paint.message 3 marks
Condition in which PAINT message is sent (briefly)
• Any hidden part of window becomes visible Window is resized (and CS_VREDRAW, CS_HREDRAW style bits were set while registering the window class).
• Program scrolls its window.
• InvalidateRect or InvalidateRgn is called by the application.
Back to top Go down
 
CS410 2010
Back to top 
Page 1 of 1
 Similar topics
-
» MGT602 2010
» MTH302 2010
» STA630 2010
» MTH202 2010
» MGT201 2010

Permissions in this forum:You cannot reply to topics in this forum
KING'S IT WORLD :: EDUCATION :: PAPERS :: MIDTERM MAY 2010 LATEST PAPERS-
Jump to: