CS410 – VISUAL PROGRAMMING Assignment No.1 Solution
Page 1 of 1 • Share
CS410 – VISUAL PROGRAMMING Assignment No.1 Solution
Assignment No. 1
Semester: FALL 2013
CS410 – VISUAL PROGRAMMING
Semester: FALL 2013
CS410 – VISUAL PROGRAMMING
Total Marks: 20 (Non-Graded)
Due Date:
20th November, 2013
Application:
XYZ Technologies
XYZ Technologies is a leading international provider of automated and IT enabled solutions catering to businesses across various verticals around the globe. Since its inception in 1995, XYZ has regimented itself being committed to deliver the best software solutions. XYZ has ever since used highly experienced resources in analysis, development, quality assurance, and implementation to provide a wide range of high-quality consulting services and cost-effective development of customized application software. XYZ’s worldwide domain and subject matter expertise, proven track record and the capability to act as solution integrators can give you a truly cost-effective solution that not only meets, but surpasses your needs.
Scenario:
XYZ –Competition For Win32 Programmers
XYZ wants to start a new project for which they require employees who have good C/C++ background. The HR department has arranged a competition in which employees with C/C++ background will participate. The objective of this competition is to select best employees among all of them.
C/C++ - Competition:
The following set of questions is made for the employees who will participate in this competition. Now you as an employee need to solve the given questions:
A. Consider the following cases
long float i, *ptr;
ptr = &i;
ptr = ptr + 2;
double num, *nptr;
nptr = #
nptr = nptr + 3;
Sponsored Links
char nam, * naptr;
naptr = &nam;
naptr = naptr + 5;
long double numb, *nbptr;
char *ncptr;
nbptr = &numb;
ncptr = (char *)naptr + 4;
How many numbers of bytes will be skipped in each case?
B. Write the following RAM addresses in Hexadecimal form:
S.No. RAM Addresses Hexadecimal
1 4564
2 2531
3 986
4 389
5 54698
C. Define a structure which should consist of one char variable, one double variable and one float variable. Then define a pointer variable of that structure and use this pointer to skip 100 bytes.
D. Read the following statements? (Reference: Concern Lecture No. 3 video lecture and slides for complete understanding of concept).
a. char *(*strg)(char);
b. int **numb[];
c. double *fun(float);
d. long double (*cube)(double);
e. char *( *myname[40])( char, char);
Lecture Covered: This Assignment covers Lecture No.1 – Lecture No. 5
Deadline: Your assignment must be uploaded on or before 20th November, 2013.
Note: This assignment is Non-Graded and its marks will not be included in course final weightage but upcoming assignments will be based on this assignment.
saleha- Monstars
-
Posts : 469
Join date : 2012-01-28
Age : 36
Location : ...
Similar topics
» CS410 Assignment No 3 Solution
» CS609 - System Programming Assignment No. 03 Solution Required
» CS304- Object Oriented Programming Assignment # 1 Solution Semester Fall 2013
» MGT 431 Assignment No. 1 Solution
» MTH302 Assignment No. 1 Solution
» CS609 - System Programming Assignment No. 03 Solution Required
» CS304- Object Oriented Programming Assignment # 1 Solution Semester Fall 2013
» MGT 431 Assignment No. 1 Solution
» MTH302 Assignment No. 1 Solution
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|
Sat May 04, 2024 11:49 am by ali001
» house disrepair claims
Thu May 02, 2024 4:29 pm by Ibad Khan Buledi
» Bounce n Bang: Physics puzzler
Thu May 02, 2024 11:39 am by ali001
» AIChatSY - AIChatbot Assistant
Wed May 01, 2024 10:48 am by ali001
» Storybook Magic App
Tue Apr 30, 2024 7:06 pm by ali001
» Flower Book Match3 Puzzle Game
Tue Apr 30, 2024 12:17 pm by ali001
» Avian Influenza Symptom in Chickens "Bird Flu H5N1 Virus" Vet learning materials, Poultry Farming
Sat Apr 27, 2024 9:57 am by Ibad Khan Buledi
» Aloha Planner - Note-Taker
Thu Apr 11, 2024 4:52 pm by ali001
» Streaming Guide Film TV Series
Tue Apr 09, 2024 9:39 pm by ali001