Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CS410 Visual Programming Assignment No.1 Solution Spring Semester 2013
#1


CS410 Visual Programming Assignment No.1 Solution Spring Semester 2013


Assignment No. 2
Semester: SPRING 2013
CS410 – VISUAL PROGRAMMING
Total Marks: 20
Due Date:
6th May, 2013
Instructions
Please read the following instructions carefully before submitting assignment:
It should be clear that your assignment will not get any credit if:
o Assignment is submitted after due date.
o Submitted assignment does not open or file is corrupt.
o Assignment is copied (From internet/From students).
You should consult recommended books to clarify your concepts and can also put queries on MDB.
Objective
To understand the concepts of Macros, Switch Statement and Bitwise Operators.
Software (s) Used to develop Assignment
Visual C++ 6.0 And MS Word
Language
C/C++
Assignment Submission Instructions
Assignment should be submitted in a zipped folder named “VU-RollNo” format, which includes
following files:
→ Question No. 1 should be in “Question1.cpp” format.
→ Question No. 2 should be in “Question2.doc” format.
Assignment
Marks Distribution:
10+10= 20
Background:
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 –Prohibition Period For Win32 Programmers
During the recruitment session the HR department of XYZ company has selected some competent people. After
the interview session some of them have been hired. As per company policy the starting 1 month will be
probation period for them in which their performance will be judged through some practical tasks. Then
successful candidates will be promoted, else fired.
Evaluation:
Now being selected, you need to perform the given task. The task consists of 2 parts; the first is about
developing a code and second is solving certain expressions.
Part 1:
Write a program which performs basic four mathematical operations i.e. Addition, Subtraction, Multiplication
and Division.
1. Develop a function named “menu”. The users can select any option from the given menu.
When user will press ‘A’ it will perform Addition and so on. Use switch statement to achieve
this functionality.
2. To perform operations (Addition, Subtraction, Multiplication and Division) you have to
define macros.
Note: A video demo is also attached to illustrate about the other requirements and output format of the
program.
Part 2:
Consider the following code snippet:
unsigned int x, y, z, r;
x=0xA502;
y=0xB610;
z=0x540C;
First convert the x, y, z values into binary form and then solve the following bitwise expressions.
1. x&y=?
2. y|z=?
3. r=(x2) + (y>>4)=?
4. z^r=?
Note: You have to solve each expression like this
x= (Binary value)
y= (Binary value)
(x&y)= (Binary value)
= (Convert final output into Hex Value)
Lectures Covered: This Assignment covers Lecture No.5 – Lecture No. 7
Deadline: Your assignment must be uploaded on or before 06th May, 2013.

0300-9520262
Get solution in 24 hour
|cpmputer & internetConfusedmileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  CS301 Assignment # 4 Due Date: 02-Feb-2016 Vuhelper 0 2,322 02-03-2016, 05:38 PM
Last Post: Vuhelper
  CS703 – Advanced Operating Systems Assignment No.3 solution January 2016 Vuhelper 0 5,908 01-23-2016, 09:58 PM
Last Post: Vuhelper
  CS601 Data Communication Assignment No. 03 Solution 23rd January 2016 Vuhelper 1 1,928 01-23-2016, 06:09 PM
Last Post: Vuhelper
  CS403 Assignment No. 03 Solution 23rd January 2016 Vuhelper 2 1,165 01-23-2016, 03:18 PM
Last Post: Vuhelper
  CS506 Web Design and Development Assignment no 3 Solution 3rd January 2016 Vuhelper 0 2,242 01-23-2016, 03:16 PM
Last Post: Vuhelper
  CS724 Software Process Improvement Assignment No 01 Solution 20th January 2016 Vuhelper 0 1,967 01-20-2016, 06:26 PM
Last Post: Vuhelper
  CS711 Software Design Assignment No 01 Solution Due Date Feb 12, 2016 Vuhelper 0 1,664 01-20-2016, 06:24 PM
Last Post: Vuhelper
  CS709 Formal Methods for Software Engineering Assignment No 01 Solution January 2016 Vuhelper 0 1,800 01-20-2016, 06:22 PM
Last Post: Vuhelper
  cs703 assignment no 3 Solution 20th January 2016 Vuhelper 0 1,701 01-20-2016, 06:20 PM
Last Post: Vuhelper
  CS704 Assignment No. 01 Solution January 2016 Vuhelper 0 4,798 01-20-2016, 06:19 PM
Last Post: Vuhelper

Forum Jump:


Users browsing this thread: 1 Guest(s)