CS508 Assignment No 2 Spring 2018
Dear Students, Here you can read or Download CS508 - Modern Programming languages Assignment No 2 Solution of Semester Spring 2018. Assignment Due Date is 28 MAY, 2018. Total Marks are 15. This assignment covers lesson no. 1-8. We are here to facilitate your learning and we do not appreciate the idea of copying or replicating solutions. CS508 Assignment Solution File has been added. Previously we shared CS610 Assignment No 2 Solution Spring 2018.CS508 Assignment No 2 Solution and Discussion Spring 2018 |
CS508 Assignment Question:
In this assignment, you have to write and execute ADA program. This ADA program will save records of students of Computer Science. This program will contain 3 parts as described below:Part 1: [5 Marks]
Data of each student will be StudentID, Marks, and Status (Pass/Fail). Use appropriate data type for these attributes.
The record should be used to save student data and you are required to initialize records of 2 students only by assigning proper values. While initializing, StudentID should be your VU Roll Number in both records. For Marks, and Status field, use arbitrary values.
Part 2: [2 Marks]
After completing Part 1, define your own type by the name of FinalScore. Its range should be from 50 to 100. After that, create a variable Marks1 of FinalScore data type.
Part 3: [8 Marks]
After completing Part 2, initialize Marks1 with 50 and then begin a loop. During each iteration of the loop, increment the value of Marks1 by 10. Following output should be shown in each iteration:
- If Marks1 is greater than or equal to 50 and less than or equal to 65, the output will be: Marks range is 50-65, PASS, Needs Improvement
- If Marks1 is greater than 65 and less than or equal to 75, the output will be: Marks range is 65-75, PASS, Average
- If Marks1 is greater than 75 and less than equal to 90, the output will be: Marks range is 75-85, PASS, Very Good
[see Note below], take the screenshot, and paste it in your solution file.
Your solution file must be a single Word file (.doc or .docx) containing the following:
Other Subjects Assignment Solution:
Your solution file must be a single Word file (.doc or .docx) containing the following:
- Complete code written in Word [you can use Consolas font for enhancing the readability of the code]
- Output screenshot (take multiple screenshots by scrolling appropriate area if your code and output window do not fit in one screen)
CS508 Assignment No 2 Solution Spring 2018
You can see the Sample Preview of CS508 (Modern Programming languages) Assignment No 2 Solution provided by (Virtual Study Solutions) below. Click on Download Button to Download Solution File in Your PC. Please Share it with your friends. You can also like our Facebook Page or Subscribe Us below for Updates.Other Subjects Assignment Solution:
Post a Comment