Assignment GDB Solution: CS201 Introduction to Programming


CS201 GDB Solution 5 january to 11 January 2018

Suppose you are required to write a C/C++ program for a bank in which all transactions of a day will be compared. Keep in mind a huge volume of transactions per day: Your code should have following features: The processing speed must be high. The logic of the program must be simple. Which decision structure […]

CS201 GDB Solution Spring 2017

Graded discussion will be launched on July 13, 2017 and it will remain open for two days. You can post your comments on below mentioned topic till July 14, 2017. Graded Discussion:  A university wants to develop an application that will manage its student’s records. Application will store student’s personal information like registration no., name, address, current semester, study program and […]

CS201 Assignment 2 Solution Spring 2017

You will need to use a two-dimensional array with five rows and five columns for this assignment.   Task 1:             First of all, you will need to populate this 5×5 array with random numbers from 1 to 100. For this purpose create a function named populateArray() which will load the two-dimensional array with random numbers from […]

CS201 Assignment 1 Solution Spring 2017

Assignment Write a program that will ask the user to enter lower limit and upper limit in form of integers. The program will calculate and show the prime numbers within the range from lower limit to upper limit. All the prime numbers within the specified range should be displayed on the output. The program should […]

CS201 Introduction to Programming GDB Solution Feb 2015

GDB Scenario: Every programming language provides different features to make coding task easy. One of the main objectives is to keep things simple as possible. You have studied C++ in this course and have learnt many different concepts e.g. input/output, if-else statements, loops, arrays, functions etc. Looping constructs are needed when a statement or a block […]

CS201 Introduction to Programming Assignment 2 Solution Fall 2014

Assignment Description This assignment is based on our previous assignment and you can use solution of Assignment#1 as a startup code. In Assignment#1, user was asked only once to guess the random number generated by computer. Here, you are required to enhance its capability by introducing three levels (Beginner, Intermediate, and Advance). The range and […]

CS201 Introduction to Programming Assignment 1 Solution Fall 2014

Assignment Description In this assignment, you are provided with a small and simple game like program attached with this assignment named as “GuessGame.cpp”. Your job is to slightly modify this code as desired in this assignment. First, you need to understand the working of the given code and execute it in Dev-C++. This program essentially […]

CS201 Introduction to Programming GDB Solution Spring 2014

GDB topic: Is it more expensive to use too many static variables instead of ordinary variables? If yes, then how? Your answer must be concise and not be more than 200 words. Note: Keep you comment brief and to the point, GDB will not be accepted through email in any case. Solution: it would be more […]

CS201 Introduction to Programming Assignment 2 Solution Spring 2014

Assignment Problem Statement: You are required to write a C++ program which contains a class studentInfo having following data members: Student ID Course ID Course Name The class must have the following member functions: • Parameterized constructor • Setter functions • Getter functions • Display function Detailed Description: Parameterized constructor: It should take three strings as arguments […]