Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Car Owner Structure-Visual Programming and Introduction to Programming-Assignment, Exercises of Computer Programming

I am student at Baddi University of Emerging Sciences and Technologies. To help my friends in other universities, I am uploading my assignments of different courses. Its for Theory of Automata and Introduction to Programming course. Other can see if they are searching following: Visual, Programming, Owner, Structure, Attribute, Initialization, List, Alternate, Code, String

Typology: Exercises

2011/2012

Uploaded on 08/01/2012

parmitaaaaa
parmitaaaaa 🇮🇳

4.2

(111)

199 documents

1 / 2

Toggle sidebar

Related documents


Partial preview of the text

Download Car Owner Structure-Visual Programming and Introduction to Programming-Assignment and more Exercises Computer Programming in PDF only on Docsity! Assignment No. 02 Semester: SPRING 2012 CS410 – VISUAL PROGRAMMING Total Marks: 15 Due Date: May 02, 2012 Instructions assignment is answered and blocked. 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 Submitted assignment file is not in required format. o Assignment is copied (From internet/ to from students). Objective To search and understand some concepts used in Assignment No 1 of Sp2012 semester. Software (s) Used to develop Assignment MS-Word 2003 / 2007 / 2010 Assignment Submission Instructions  No other format is allowed other than MS-Word supported formats and if it is then straight mark as zero. Assignment 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 at max. Question # 02: [Marks: 03] Write any alternate way to assign a value ‘Van’ in Vehicle_Class to initialize Owner structure. (Only code is required, no details or text required.) Question # 03: [Marks: 02] Why we use cin.sync () before cin.getline ()? Describe in 2 -3 lines at max. docsity.com
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved