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

CS410 Visual Programming Assignment 1: Vehicle Registration System, Exercises of Computer Programming

An assignment for the cs410 visual programming course, focusing on the development of a vehicle registration system. Students are required to write a program using dev c++ and adhere to specific instructions, including the use of two structures named vehicle and owner, and three functions: view, transfer, and register. The objective is to understand and revise the basics of c/c++ language.

Typology: Exercises

2011/2012

Uploaded on 08/01/2012

parmitaaaaa
parmitaaaaa 🇮🇳

4.2

(111)

199 documents

1 / 4

Toggle sidebar

Related documents


Partial preview of the text

Download CS410 Visual Programming Assignment 1: Vehicle Registration System and more Exercises Computer Programming in PDF only on Docsity! Assignment No. 01 Semester: SPRING 2012 CS410 – VISUAL PROGRAMMING Total Marks: 30 Due Date: 16 / 04 / 2012 Instructions Please read the following instructions carefully before submitting assignment: Feel free to ask your questions related to assignment 1 No MDB related to 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 understand and revise basics of C / C++ Language. Software (s) Used to develop Assignment Dev C++ Assignment Submission Instructions  Assignment should be submitted in “VU-RollNo.cpp” format. e.g. MC123456789.cpp  You are not allowed to change given Variables Names, Types and Function Names. Assignment We are going to write a program of Vehicle Registration System. Follow the instructions / problem set below for assignment; 1 – There are two (2) structures in a program named as Vehicle and Owner. 2 – Variables in Vehicle structure are; Structure of Vehicle Attribute Name Data Type Example vehicle-type char 2 wheel, 3 Wheel, 4 wheel etc. maker char Honda, Toyota, Suzuki etc. year-of-manufacture int 2012 etc engine-no char BR-29536 etc. registration-no char LEV-0012 etc. vehicle-price unsigned int 48000 etc. docsity.com 3 – Variables in Owner structure are; Structure of Owner Attribute Name Data Type owner-name char father-name char address char date-of-purchase int month-of-purchase int year-of-purchase int transferred-from char 4 – Make enumerator named as vehicle-class which has the value set given below. No vehicle is beyond these values.  Motor Cycle  Car  Van  Sports Car  Pickup  Truck 5 – vehicle-class enumerator should be in structure Vehicle. 6 – Instance / variable / object of Vehicle structure is passed in Owner structure. 7 – Initialize the variables in structures. (You may initialize them in structure / main function). 8 – When your program starts, the following lines are appeared on screen. 9 – There are three functions named as:  View  Transfer  Register docsity.com
Docsity logo



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