KING'S IT WORLD
please register to watch content in detail
THANKS
ADMIN KINGSIT WORLD

KING'S IT WORLD


 
HomeHome  CalendarCalendar  GalleryGallery  FAQFAQ  SearchSearch  UsergroupsUsergroups  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
Mon Aug 20, 2012 2:59 am by YOUSUFHALI

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

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

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

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

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

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

» PHOTO MIXER SOFTWARE
Fri Apr 20, 2012 10:02 am by sacredwkb

» Entrepreneurship Survey
Thu Mar 08, 2012 2:20 pm by Admin

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

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
kings it world text ad
Social bookmarking
Social bookmarking Digg  Social bookmarking Delicious  Social bookmarking Reddit  Social bookmarking Stumbleupon  Social bookmarking Slashdot  Social bookmarking Furl  Social bookmarking Yahoo  Social bookmarking Google  Social bookmarking Blinklist  Social bookmarking Blogmarks  Social bookmarking Technorati  

Bookmark and share the address of KING'S IT WORLD on your social bookmarking website
visitors counter
Powered by website analytics technology.
Keywords
cs403 cs401 SPRING FALL term MKT621 MTH202 papers 2011 CS302 assignment MCM301 solved STA301 midterm cs605 quran mth302 2010 final MTH101 paper cs101 mgt502 quiz mth301
kings it world text ad
FLAG COUNTER
free counters
LIVE TRAFFIC

Share | 
 

 CS410 2010

View previous topic View next topic Go down 
AuthorMessage
Admin
Admin


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

PostSubject: CS410 2010   Fri 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
View user profile
Admin
Admin


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

PostSubject: Re: CS410 2010   Tue 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
View user profile
 
CS410 2010
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Mercredi 10 mars 2010 : l'horoscope
» RE: GPPB Resolution No. 06-2010
» RE: Circular Letter No. 2010-9
» Question on DILG Memorandum Circular 2010-83
» Salient Features of FCRA, 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: