Cyberian

Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode .

Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).

  • Cyberian Recent Activity
  • Virtual University
  • CS201 - Introduction to Programming

CS201 Assignment 1 Solution and Discussion

zareen

Assignment No. 1 Semester: Fall 2019 CS201 – Introduction to Programming Total Marks: 20

Due Date: November 14, 2019 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/students).

Software allowed to develop Assignment

Objectives: To enable students to understand and practice the concepts of: • Variables and operators • Loops or repetition structures • If-else statements • Functions • Random number generation • Control random number in specific range

Assignment Submission Instructions You have to submit only.cpp file on the assignments interface of CS201 at VULMS. Assignment submitted in any other format will not be accepted and will be graded zero marks. Please note again, assignment submitted other than .cpp format will get zero marks.

Programming is a nice tool which can be used to make our life easier. With the help of programming we can do many things auto generated and efficiency. As a programmer first task of this semester is given to you is develop a console-based application for school teachers. This application will auto generate questions for Grades 1, 2, 3, 4 and 5. Using this application teacher will be able to give different paper to each student.

Assignment Statement: Write a menu-based program in C++ that will take input from user(teacher) and fulfill following requirements.

• There should be a menu that allow to select grade of class. • Created questions should be mixed type (addition and subtraction). • User will give number of questions that will be generated for a paper. • Ratio of addition and subtraction questions is not fixed. It will random, a paper can have more questions of one type than other. See sample output screenshot. • Number of minimum and maximum digits in paper of grade 1 will be two. • Number of minimum and maximum digits in paper of grade 2 will be three. • Number of minimum and maximum digits in paper of grade 3 will be four. • Number of minimum and maximum digits in paper of grade 4 will be five. • Number of minimum and maximum digits in paper of grade 5 will be six. • Screen shot of required application is given below as simple output. • Most critical requirement is, the operand (number) on left side of subtraction sign must be larger than the number on right side of sign (operator). This requirement is highlighted in sample screenshot too. • In case of addition operation, the operand (number) on left side of addition sign can be larger or smaller from the number on right side of sign (operator).

Solution instructions: • Variables, loops, if-else, rand() function with % operator, functions (one which return a value and one which do not return a value) will help you to solve the problem. • Use rand() function to generate a random number. You can control the range of number with the help of modulus (%) operator. • To use rand() function you must include “stdlib.h” header file. • To control the range of random number rand() % N can help, if value of N will be 100 then range of randomly generated number will be 0 to 99. • If you want to control the range of random number between 10 to 19 then following formula will help. o [10 + rand() % (19 – 10 + 1)]

7fc82ca0-0224-4978-9a93-24adafab2eab-image.png

Lectures Covered: (Lecture # 1- 10) and Solution Deadline: (November 14, 2019).

Discussion is right way to get Solution of the every assignment, Quiz and GDB. We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution. Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us! NOTE: Don't copy or replicating idea solutions. Quiz Copy Solution Mid and Final Past Papers Live Chat

Solution Code

danish hafeez

Semester: Fall 2020 CS201 – Introduction to Programming Total Marks: 20

Due Date: 26-November-2020 Instructions Please read the following instructions carefully before submitting assignment: It should be clear that your assignment will not get any credit if:

Recommended tool to develop Assignment

Objectives: To enable students to understand and practice the concepts of: • Data Types and Variables • Arithmetic and Logical Operators • If-else statements

Assignment Submission Instructions You have to submit only.cpp file on the assignments interface of CS201 from your LMS account. Assignment submitted in any other format will not be accepted and will be scaled with zero marks.

For any query related to assignment, please contact [email protected] .

Information about an ABC organization is given below.

  • There are 10 employees in the organization.
  • There are 2 employees of level-A, 3 employees of level-B, 5 employees of level-C.
  • The information about their salaries is given below. a) The salary of level-A employee is Rs.1, 25,000. b) The salary of level-B employee is Rs.80, 000. c) The salary of level-C employee is Rs.45, 000.
  • Rs.600 is deducted from the salaries of all employees against staff welfare fund.
  • If ANNUAL salary of an employee is more than Rs.600, 000, 1% tax is deducted from salary each month. You are required to write a C++ program which finds
  • Total monthly tax deduction for all employees.
  • Total amount of welfare fund collected each month from all employees.
  • Net monthly salary of an employee. (Level-A, level-B, level-C). (Hint: Net_Monthly_Salary= Original_Salary- Monthly_Tax – Monthly_Welfare_Fund)
  • Total amount which organization pays to its employees each month.
  • Also create a menu using (if-else) conditional statements, if a user wants to know about the separate tax collection of Level-A, Level-B, And Level-C employees. If user enters 1, leve-A employee tax will be shown. If user enters 2, leve-B employee tax will be shown. If user enters 1, leve-C employee tax will be shown. If user inputs wrong number then a message will be shown: “incorrect input”.

Sample Screenshot of Output:

0c0009a2-e98d-4ac8-bc24-9e61013c58bd-image.png

@danish-hafeez said in CS201 Assignment 1 Solution and Discssion :

Assignment No. 1 Semester: Fall 2020 CS201 – Introduction to Programming Total Marks: 20 Due Date: 26-November-2020 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/students). Recommended tool to develop Assignment Dev C++ Objectives: To enable students to understand and practice the concepts of: • Data Types and Variables • Arithmetic and Logical Operators • If-else statements Assignment Submission Instructions You have to submit only.cpp file on the assignments interface of CS201 from your LMS account. Assignment submitted in any other format will not be accepted and will be scaled with zero marks. For any query related to assignment, please contact [email protected] . Assignment Information about an ABC organization is given below. There are 10 employees in the organization. There are 2 employees of level-A, 3 employees of level-B, 5 employees of level-C. The information about their salaries is given below. a) The salary of level-A employee is Rs.1, 25,000. b) The salary of level-B employee is Rs.80, 000. c) The salary of level-C employee is Rs.45, 000. Rs.600 is deducted from the salaries of all employees against staff welfare fund. If ANNUAL salary of an employee is more than Rs.600, 000, 1% tax is deducted from salary each month. You are required to write a C++ program which finds Total monthly tax deduction for all employees. Total amount of welfare fund collected each month from all employees. Net monthly salary of an employee. (Level-A, level-B, level-C). (Hint: Net_Monthly_Salary= Original_Salary- Monthly_Tax – Monthly_Welfare_Fund) Total amount which organization pays to its employees each month. Also create a menu using (if-else) conditional statements, if a user wants to know about the separate tax collection of Level-A, Level-B, And Level-C employees. If user enters 1, leve-A employee tax will be shown. If user enters 2, leve-B employee tax will be shown. If user enters 1, leve-C employee tax will be shown. If user inputs wrong number then a message will be shown: “incorrect input”. Sample Screenshot of Output:

cyberian

Semester: Spring 2021 CS201 – Introduction to Programming Total Marks: 20

Due Date:20th May 2021 Instructions Please read the following instructions carefully before submitting assignment: It should be clear that your assignment will not get any credit if:

Objectives: To enable students to understand and practice the concepts of: • Data Types and Variables • Arithmetic and Logical Operators • Expression solving • If-else statements • repetition structure

Assignment Submission Instructions You have to submit only.cpp file on the assignments interface of CS201 from your LMS account. Assignment submitted in any other format will be scaled with zero mark. So, check your solution file format before submission.

An expression is given here. You are required to write a C++ program that solves the given mathematical expression.

Z = x2 + 2xy – x/y set the values of x = 2 and y = 1

Three main tasks are to be done by each student:-

  • Expression solving
  • Decisions making (if-else structure)
  • Repetition structure (while loop).

After evaluation of above expression, you should add the value of z to last digit of your vu id. As a result,

  • If you get an odd number, then you should print your VU id using while loop. This while loop should run as many times as odd number you got from (z+ last digit of your vu id). For example, suppose the value of z is 2 and the student’s id is BC123456781. Then by adding last digit of vu id 1 to value of z, result will be 3 which is an odd number. In this case, program should print your VU ID for 3 times using while loop.

Sample screen shot::

  • If you get an even number, then you should print your Name using while loop. This while loop should run as many times as even number you got from (z+ last digit of your vu id). For example, suppose the value of z is 2 and the student’s id is BC123456782. Then by adding last digit of vu id 2 to the value of z, result will be 4 which is an even number. In this case, program should print your Name for 4 times using while loop.

NOTE: Values of “z” and “student’s id” are arbitrary (not real).

Discussion is right way to get Solution of the every assignment, Quiz and GDB. We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution. Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us! NOTE: Don't copy or replicating idea solutions. Quiz Copy Solution Mid and Final Past Papers Live Chat Mobile Tax Calculator

Semester: Fall 2021 CS201 – Introduction to Programming Total Marks: 20

Due Date: 9-12-2021 Instructions Please read the following instructions carefully before submitting assignment: It should be clear that your assignment will not get any credit if:

Write a C++ program that performs the following tasks: 1-Print your name and VU id. 2-Add last 3 digit of your VU id. 3-Display the result of sum on screen. 4-Use if-else statement :: a) If sum is odd then print your name using while loop. Number of iterations of while loop should be equal to the sum. b) If sum is even then print your VU id using while loop. Number of iterations of while loop should be equal to the sum. [use remainder operator on sum value to determine the odd and even value for if condition]

For example, suppose the student id is BC123456781. Then by adding last 3 digits of vu id, we get 16 which is an even number. In this case, program should print your VU ID for 16 times using while loop.

58ccaf69-dc5a-41d0-a65e-dc8d1439127a-image.png

NOTE: Student’s name and id are supposed values (not real) in above example. You will print your own VU Id and Name otherwise you will get zero marks.

Liza Liza

modules:composer.user_said_in, @cyberian, CS201 Assignment 1 Solution and Discussion

Write a C++ program that performs the following tasks: 1-Print your name and VU id. 2-Add last 3 digit of your VU id. 3-Display the result of sum on screen. 4-Use if-else statement :: a) If sum is odd then print your name using while loop. Number of iterations of while loop should be equal to the sum. b) If sum is even then print your VU id using while loop. Number of iterations of while loop should be equal to the sum. [use remainder operator on sum value to determine the odd and even value for if condition] For example, suppose the student id is BC123456781. Then by adding last 3 digits of vu id, we get 16 which is an even number. In this case, program should print your VU ID for 16 times using while loop.
  • First post Last post Go to my next post

CS201 Assignment No 1 Solution Fall 2022

Table of Contents

Welcome to Pakistan’s Best Free Educational Platform

Cs201 assignment no 1 solution fall 2022 – vu assignment solution – vu fall assignment solution.

Today, I’m sharing with you the solution for CS201 Assignment No 1 Solution Fall 2022 of Virtual University(VU), which is the 1st Assignment of the course. For the most up-to-date assignment solutions, make sure to keep checking back to StudySolution.

CS201 Assignment No 1 Solution Fall 2022

If you come across any GDB solutions for the Fall of 2022, please visit our GDB section to navigate the Fall GDB Solution page. You can leave a comment below, and we will do our best to respond as soon as possible.

Study solution is an educational platform that provides students with a free VU assignment solution for educational purposes. The VU assignment solutions offered by this platform are developed by professional and experienced educators who are experts in their respective fields.

CS201 Assignment No 1 Solution Fall 2022  this Virtual University assignment solution is created keeping in mind the specific requirements of the students and the VU curriculum. The Virtual University assignment solution offered by Study Solution is reliable, accurate, and up-to-date.

In addition, the free VU assignment solutions offered by this platform are easy to understand and use. This makes it an ideal platform for students who want the best results in their VU assignments.

Study Solution provides you with the best possible VU assignment solution file . Our team of experts is highly qualified and experienced in delivering VU assignment help .

CS201 Assignment No 1 Solution Fall 2022,  we provide you with the VU assignment solution file free of cost. You can use all VU assignment solution files for your VU assignments. We assure you that our VU assignment help will help you get good grades on your assignments.

We understand that Virtual University can be a challenging place, especially for new students. That is why our Virtual University Assignment Solution is here to help. Contact us today through the comment section for all your Virtual University Assignment Solution needs.

VU is a top-rated university, and the assignments are a big part of the curriculum. Many students find it challenging to complete their VU assignments on time; this is where Study Solution comes in. We provide VU assignment solutions that are plagiarism-free and of high quality. We also offer 24/7 customer support so that you can get all your doubts cleared. So what are you waiting for?

Assignment No 1

Please Note:

  • Please do not copy and paste; else, you will receive zero marks.
  • Please gather ideas for your unique solution.
  • If you discover a mistake, please correct it as soon as possible.
  • Please double-check your assignment requirements before submitting your assignment.
  • If the Solution file is incorrect, please let us know in the comments section below, and we will correct it as soon as possible.
  • Dear students, please check all your assignment requirements before submitting your assignment.
  • Dear Student, please don’t submit the same solution file.
  • Please collect the ideas below and make your solution file for good marks.
  • If the solution file is wrong or there is any mistake, please let us know below. We will try to update it as soon as possible.
  • Please check your file carefully before submitting whether the file works appropriately or not.
  • Please double-check all of your assignments before sending them to the instructor.
  • You will receive zero marks if you submit the same file as before.

Students Can Get CS201 Assignment No 1 Solution Fall 2022 By Visiting below.

Get Your Solution Below

Visit Here For Solution File

For More Latest Update Stay With Us.

' src=

Adeel Ikram

Hello, I'm Adeel Ikram—a skilled web developer, designer, writer, and SEO expert with six years of experience. I specialize in creating visually appealing websites, crafting compelling content, and optimizing for search engines.

MTH501 Assignment No 1 Solution Fall 2022

Mgt301 assignment no 1 solution fall 2022, related posts, cs502 assignment no 2 solution fall 2023, cs201p assignment no 2 solution fall 2023, cs401 assignment no 2 solution fall 2023, cs609 assignment no 2 solution fall 2023, cs506 assignment no 2 solution fall 2023, cs403 assignment no 2 solution fall 2023.

' src=

Good platform

Good teacher

Leave a Comment Cancel Reply

Save my name, email, and website in this browser for the next time I comment.

IMAGES

  1. CS201-Introduction To Programming Assignment No 1 Solution 2019

    cs201 introduction to programming assignment 1

  2. CS201 Assignment 1 Solution 2019 (introduction to Programming in c++

    cs201 introduction to programming assignment 1

  3. CS201 Introduction To Programming Assignment

    cs201 introduction to programming assignment 1

  4. SOLUTION Assignment No. 1 (CS201

    cs201 introduction to programming assignment 1

  5. CS201 Introduction to Programming Assignment No. 1 Solution by VU

    cs201 introduction to programming assignment 1

  6. CS201 ASSIGNMENT NO. 1 SPRING 2022 || 100% RIGHT SOLUTION

    cs201 introduction to programming assignment 1

VIDEO

  1. CS201P

  2. CS201 Assignment 1 Solution Spring 2023

  3. VU CS201 Introduction to Programming using C++

  4. CS201 Assignment 1 || Spring 2024

  5. CS201 Short Lecture

  6. CS201 Short Lecture

COMMENTS

  1. CS201 Assignment #1 Solution || CS201

    Welcome to Vu Zone, your ultimate destination for knowledge, quizzes, and educational content! Dive into a world of learning where curiosity is ignited, and ...

  2. CS201 Assignment 1 || Spring 2024

    This is the solution of assignment no 1 of Introduction to Programming (CS201) Spring semester. In this assignment concepts related to arithmetic operations,...

  3. Spring 2024 CS201 1

    Assignment No. 1 Semester: Spring 2024 CS201 - Introduction To Programming Total Marks: 20 Due Date: 29th April, 2024 Instructions Please read the following instructions carefully before submitting the assignment solution: It should be clear that your assignment will not get any credit/marks if: o Assignment is submitted after due date. o Submitted assignment does not open or file is corrupt ...

  4. Spring 2022 CS201 1

    Assignment No. 1 Semester: Spring 2022. CS201 - Introduction to Programming. Total Marks: 20. Due Date: 10 th June 2022. Instructions. Please read the following instructions carefully before submitting assignment: It should be clear that your assignment will not get any credit if: Assignment is submitted after due date.

  5. CS201 Assignment 1 Solution Fall 2021 by VU Answer

    Assignment solution visit any more freely solutions vuanswer.com cs201 assignment solution fall 2021 provide vu answer due date: dec 2021 total marks: 20. Skip to document. University; High School ... Introduction to programming /c++ (cs201) 350 Documents. Students shared 350 documents in this course. University Virtual University of Pakistan ...

  6. CS201 Introduction to Programming Assignment No. 1 Solution by VU

    CS201 Introduction to Programming Assignment No. 1 Solution by VU ACADEMYObjectives:To enable students to understand and practice the concepts of:• Data Type...

  7. CS201 Assignment 1 Instructions

    This document provides instructions for Assignment 1 in the course CS201 - Introduction to Programming. It outlines that the assignment should: 1) Calculate the value of expression Z = x2 + 2xy - x/y, where x = 2 and y = 1 using C++. 2) Use if-else statements to check if adding the calculated Z value to the last digit of the student's ID results in an odd or even number. 3) Use while loops to ...

  8. CS201 Assignment # 1 Solution 2021

    CS201 Assignment # 1 solution 2021 - Free download as PDF File (.pdf), Text File (.txt) or read online for free. Introduction to programming CS201 Assignment#1

  9. PDF Introduction to Programming CS201

    CS201 - Introduction to Programming Hence to design a program properly, we must: o Analyze a problem statement, typically expressed as a word problem. o Express its essence, abstractly and with examples. o Formulate statements and comments in a precise language. o Evaluate and revise the activities in light of checks and tests and ...

  10. CS201 Assignment 1 Solution Spring 2022 by VU Answer

    5- Print "Welcome to CS201-Introduction to Programming" by using WHILE loop. Number of iterations of WHILE loop must be equal to sum calculated in point 4. For example, suppose the student id is BC123456781. ... //CS201 Assignment 1 Solution Spring 2022. #include<iostream> using namespace std; int main()

  11. SOLUTION Assignment No. 1 (CS201

    It is my pleasure to welcome you to the VSSS - Virtual Student Support Services Youtube Channel. Our goal is to provide direction, support, guidance and tes...

  12. CS201 Assignment # 1 Solution

    CS201 Assignment # 1 Solution - Free download as Word Doc (.doc), PDF File (.pdf), Text File (.txt) or read online for free. Assignment objective is to provide hands-on experience of using C / c++ language and Programming. You are required to write a program which should take input from user in the form of characters a or B. Based upon user's ...

  13. Introduction to Programming Assignment 1 Solution

    View Assignment - CS201-Assignment No.1 100 accurate Solution By M.junaid Qazi.docx from CS 201 at Virtual University of Pakistan. V irt u al U n iv e rs ity Total marks = ... CONTACT ON WHATSAPP 03074960034.CS20l-introduction to programming |Assignment No.1 Solution Semester: ... Developmental Assignment 1.docx. homework. Saray Stakemann ...

  14. Introduction to Programming: Lecture No. 1

    Lecture No. 1. In this course we will discus about programming i.e. programming principles, design and structure. In this course, we will use C as a programming language in a C++ development environment. As C++ is an object-oriented language and we are covering procedural programming in our course, we will NOT focus on object-oriented concepts ...

  15. Introduction to programming /c++

    Cs201 assignment - To enable students to understand and practice the concepts of: • Data Types. 2 pages 2022/2023 100% (1) 2022/2023 100% (1) ... Introduction to programming /c++ (cs201) 8 months ago. How many address bits are required for a 2048-bit memory organized as a 256 x 8 memory? (more) 0 1.

  16. CS201 Assignment 1 Solution and Discussion

    Assignment No. 1 Semester: Fall 2019 CS201 - Introduction to Programming Total Marks: 20. Due Date: November 14, 2019 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 ...

  17. Cs201 Assignment No. 1 Fall 2022 || 100% Right Solution || Introduction

    CS201 ASSIGNMENT NO. 1 FALL 2022 || 100% RIGHT SOLUTION || INTRODUCTION TO PROGRAMMING || BY VuTechWelcome to my Channel VuTech#vutech #cs201assignment #cs20...

  18. Open Courseware

    Course Contents Introduction, Software Categories / History of C / IDE, Starting to C, Expressions and Operators, Decisions, Repetition Structures, Loops and Operators, Switch Statement, Functions, Arrays, Pointers, Strings, String Manipulation Functions, File Handling, Structures, Bit Manipulation, Pre-processor Directives and Macros, Dynamic Memory Allocation using C, Structured Programming ...

  19. Spring 2023

    Spring 2023_CS201_1 (5) - Free download as Word Doc (.doc / .docx), PDF File (.pdf), Text File (.txt) or read online for free.

  20. Spring 2023 CS201 1

    Assignment No. 1 Semester: Spring 2023. CS201 - Introduction to Programming. Total Marks: 20. Due Date: 20 th May, Instructions. Please read the following instructions carefully before submitting assignment: It should be clear that your assignment will not get any credit if: Assignment is submitted after due date.

  21. CS201 Lecture 1

    CS201 Lecture 1 | VU Short Lectures | Introduction to ProgrammingDear Students !This is our first lecture for CS201 Introduction to Programming course. in th...

  22. CS201 Assignment No 1 Solution Fall 2022

    Study Solution provides you with the best possible VU assignment solution file. Our team of experts is highly qualified and experienced in delivering VU assignment help. CS201 Assignment No 1 Solution Fall 2022, we provide you with the VU assignment solution file free of cost. You can use all VU assignment solution files for your VU assignments.

  23. Fall 2023 CS201 1

    For any query related to assignment, please contact [email protected]. Assignment Lectures: 1 to 9 Write a C++ program that performs the following tasks: Use only the provided Student ID: BC123456789 (In case of not using this ID, marks will be deducted.) ... CS201 - Introduction to Programming Total Marks: 20 Due Date: 15/11/ Instructions