CS201 Introduction to Programming Assignments Discussions and Solutions

Information

CS201 Introduction to Programming Assignments Discussions and Solutions

Assignments Discussions and Solutions Group

Website: http://www.virtualians.pk/
Members: 521
Latest Activity: Jul 7

Discussion Forum

CS201 Assignment No 3 Solution Spring 2019

Started by Dɨℓ-€-Nʌɗʌʌɲ Jul 7. 0 Replies

CS201 Assignment 2 due date 28-05-2018 complete solution

Started by Student Soft Skills. Last reply by rida zainib Nov 11, 2018. 1 Reply

Some Definitions and material for CS201 VIVA preparation

Started by ++ఞƴαᶊɱԑԑɳఞ ߊĺŤ. Last reply by Muhammad Awais Jul 18, 2017. 13 Replies

Temperature Conversion

Started by Basarat Ali Dec 28, 2016. 0 Replies

cs201 assignment no 1 solution fall 17th nov 2016

Started by Marryem Ejaz. Last reply by Munir Ahmed Nov 17, 2016. 2 Replies

assignment solution

Started by Shah Nov 15, 2016. 0 Replies

CS201 VIVA 2016

Started by aneesa Aug 4, 2016. 0 Replies

CS201 - Introduction to Programming Assignment No. 3 Solution Spring 2016 Due Date July 26, 2016

Started by + + ღ♥!~Ӑӎᴤᶏḫ ṦђƐịκҤ~!♥ღ+ +. Last reply by + Ayyan Jul 25, 2016. 8 Replies

Comment Wall

Comment

You need to be a member of CS201 Introduction to Programming Assignments Discussions and Solutions to add comments!

Comment by sabir khan on February 14, 2016 at 6:02pm

CS2012.cpp

correct code of cs201 assignment of 16-2-016

Comment by sabir khan on February 14, 2016 at 6:01pm

CS2012.cpp

this is the correct code of cs201 last assignment with due date 16-2-016 so please download it .and then open it and compile this then you understand .

its all for you friends

Comment by sabir khan on February 14, 2016 at 4:53pm

the correct code of cs201 assignmentn of ending date 16-2-016 is

#include<iostream>
#define MODEL "HP"
#define ALPHABET 26
#define NUMKEYS 10
#define FUNKEYS 12
using namespace std;

class Keyboard
{
public:
void operator=(const Keyboard &obj1);
Keyboard();
~Keyboard();

private:
string Model;
int Albkeys,Numkeys,Funkeys;
};

Keyboard::Keyboard()
{
Model=MODEL;
Albkeys=ALPHABET;
Numkeys=NUMKEYS;
Funkeys=FUNKEYS;
cout"\nKeyboard Created. "endl;

cout"\nModel "Model;
cout"\nAlbkeys "Albkeys;
cout"\nNumkeys "Numkeys;
cout"\nFunkeys "Funkeysendl;
}

void Keyboard::operator=(const Keyboard &obj1 )
{
Model=obj1.Model;
Albkeys =obj1.Albkeys;
Numkeys =obj1.Numkeys;
Funkeys =obj1.Funkeys;
cout"\nKeyboard is assigned "endl;
}

Keyboard::~Keyboard()
{
cout"\nKeyboard has been Destroyed "endl;
}

int main(void)
{
Keyboard *obj1=new Keyboard();
Keyboard obj2;
obj2=*obj1;

}

Comment by sabir khan on February 14, 2016 at 4:47pm

for the correct assignment of cs201 wich having the end date 16-02-016 please contact or send me email at

sabir.khan425@yahoo.com

or join me online on vu social

Comment by sabir khan on February 14, 2016 at 4:45pm

i have done the cs201 assignment .end date of this asssignment is 16-2-016 .so any body who want to get guidance please send the email to my contact which is "sabir.khan425@yahoo.com

Comment by Muhammad Saadi (Bcs--2) on December 10, 2014 at 8:54am
cs201 assignmemt # 2
here is complete code

#include
#include
#include
using namespace std;
int userChoiseLevel(int,int);
int randomNumGenrated(int);
int vaildNumberChecker();
int main () {
int randomNumber, validNumber;
validNumber=vaildNumberChecker();
coutendl;
randomNumber = randomNumGenrated(validNumber);
cout" "endlendl;
userChoiseLevel(validNumber+2,randomNumber); system("pause");}
//function start
int vaildNumberChecker(){ cout"\t\t\t\tAttension !\n\tthis Assignment is completed by saadi.muhammad43@gmail.com\n";
cout"Enter 1 for Biginner Level "endl;
cout"Enter 2 for Intermadiate Level "endl;
cout"Enter 3 for Advance Level "endlendl;
cout"Choice : ";
int v; cin>>v;
if (v == 1 || v == 3 || v == 2){ return(v);}
else {
cout"Your Enter Choice is incorrect. Please enter again "endlendl"Choice :";
int i=1;
do {
int s; cin>>s;
if (s<1 || s>3){cout"Your Enter Choice is incorrect. Please enter again \n"endl"Choice :";}
else { return(s); break; } i++;} while(i>1); } }
//22222222222222222
int userChoiseLevel(int x, int rnnd) {
int c[x];
int z, i=0;
do {
cout"Turn "i+1" of "x": \n";
if(x==3){cout"please guess the secrect number in range[1 - 20] : ";}
else if (x==4){cout"please guess the secrect number in range[1 - 50] : ";}
else{cout"please guess the secrect number in range[1 - 100] : ";}


cin>>z;
if (z"\nOooppsss.....your enter number is low...\n\n\n";}
else {cout"Oooppsss....your enter is high...\n\n\n";}
if(z != rnnd){ c[i]=z;} i++;

}while(z != rnnd && i
if (z == rnnd){cout"waaaoooo.....Congratulation...you won\n\nyou find the secret number in "i" tries\n";
cout"your Choice was : "z"\n""\secret number was : "z"\n\n\n\n\n";}
else {cout"You Don't have more turnes.....computer won. ";
cout"\nyour Choice was : "z"\n""\secret number was : "rnnd"\n\n\n\n\n";
}
}
// 3333333333333

int randomNumGenrated(int j){
cout"Computer is calculating Secret Number in given range........done! "endlendl;
int lnt, rannd;
if (j==1){ cout" ";
srand(time(NULL));
rannd = (rand() % 20+1);
return(rannd);}
else if (j==2 ){ cout" ";
srand(time(NULL));
rannd = (rand() % 50+1); return(rannd);}
else if (j==3){ cout" ";
srand(time(NULL));
rannd = (rand() % 100+1); return(rannd);}}
Comment by True Pakistani MCS 2nd on January 30, 2013 at 1:43pm

How C++ can play an important role as a base language in order to understand the modern programming languages such as C#, Java, J# etc?

whts the ans???

Comment by Hira (Mcs.1) on November 28, 2012 at 8:24pm

i m  joinig this group

Comment by Abass Ali (MIT 2ND samm on November 12, 2012 at 9:11am

i want to join group plz guide me

Comment by Muhammad Zubair (MIT) on November 2, 2012 at 10:37pm

Bro i studied 8 lessons and its related topic in books  but i don,t found any solution of making table..which are included in assignment...I want to know Should I Study more than 8 lectures to solve the Assignment before the end date???

Thank you..
 

Members (521)

 
 
 

SPONSORED LINKS

SPONSORED LINKS

© 2019   Created by Irfan Khan MSCS.   Powered by

Badges  |  Report an Issue  |  Terms of Service