LATEST UPDATE

CIMA study stuff added

BOX

Thursday, September 30, 2010

SIMUILATION LAB

LAB 6,7,8

http://www.4shared.com/file/k5cdJdiZ/SimLab678.html

Thursday, September 23, 2010

CG LAB WORK


CG Chap2,3 and all Labs

taken from amans blog
which is http://csku08.blogspot.com/



click here to DOWNLOAD CG WORK

Saturday, September 18, 2010

TECHNO-ED


Techno-Ed Offers Job Placement for Our Students


Multi National Growing Company Required

Oracle Developers


RED ALERT


msg about CG LAB AND VIVA

salam guys,

Those people who were supposed to give their viva today will have to give viva on the next opening day of university ( jis din bhi univ abb open hougi usi din unkay scheduled walay logon k saath viva houjayaega )

In case if university remains closed on coming Monday then that day's viva will be shifted to next week's Monday
same is the case if university remains closed on Tuesday then it will be shifted to next week's Tuesday.
so 1 week extension will be given for only the student of the respected days.


from yawaar





Wednesday, September 15, 2010

15-09-2010 COMPILER LAB WORK

#include
#include
int lookahead;
void main(){
lookahead = getchar();
do {expr();}
while(lookahea!=0);}
void term(){
if(isdigit(lookahead)){
putchar(lookahead);
match(lookahead);}
elseerror();}
void error(){
printf("syntexerror\n");
exity(1);}
void expr(){
term();
while(1){
if(lookahead=='+')
{match('+');
term();
putchar('+');
}
else if (lookahead=='-')
{
match('-');
term();
putchar('-');
}
else break;
}
}
void match(int t)
{
if(lookahead == t )
lookahead =getchar();
elseerror();
}

Tuesday, September 14, 2010

MID TERM SHEDULE OF COMPUTER GRAPHICS SECTION-A

Instructions:

1. Cheated/Copied assignments may make you ineligible to appear in final exam.

2. Absence in viva is not acceptable.

3. All of your work should be in folder named with your name and seat number.

4. CG Projects must be saved as whole running project to save time.

5. Topics: CG Chapters 1, 2 3, 10 + Lectures + Labs.

6. Maximum 20 marks for CG will be finalized at this stage.

7. Following Grading criteria will be followed:

Regular Lab Attendance & Lab Performance

Satisfactory

3 marks

Complete running Labs/File + c ode

Satisfactory

3 marks

2D Assignment

Satisfactory

6 marks or extra

Numerical

Handwritten Neat & proper solution.

4 marks

Extra class assignments like teardrop, Ogee arc, case study 2.6

Soft copy for coding assignments

Marks depends on submission

Viva

4 marks

Total = 3+3+6+4+4 = 20 (plus extra marks depending on your submissions)

Schedule for CG Section A:

Seat No. Range

count

Day- Date(Time)

B07101001 ------- B07101040

12

Tuesday - 21st Sept 2010 (8:30 ----11:00 pm)

B07101041 ------- B07101070

10

Wednesday - 22nd Sept 2010 (8:30 ----10:30 pm)

B07101071 ------- B07101110

B07101111 ------- B07101121

10

8

Tuesday - 28th Sept 2010 (8:30 ----11:00 am)

Tuesday - 28th Sept 2010 (12:30 ----2:00 am)

All BS09XXXX

9

Wednesday - 29th Sept 2010 (8:30 ----10:30 pm)

All BS06XXXX

6

Thursday - 30th Sept 2010 (10:30 -----12:30 pm)

Wednesday, September 8, 2010

NEWS ALERT ::MADAM HUMERA TARIQ`s MESSAGE

Miss Humera Tariq announced today about CG and Simulation labs :Both Labs divided into 2 parts* The 1st part of CG will be conducted from 21st September ( of 1st 30 students) it cover up 25-30 marks.& The 1st part of Simulation will probably be start from 24th September.The GRADING CRITERIA for Both will be:1. Lab Attendance + Lab performance( about 3marks)2. Complete Lab file in soft copy ( Running code of CG ) & simulation Lab file should be in hard copy also.3. 2D Assignment of CG.4. Viva5. Neat & proper Numerical Solutions ( Hand Written) of all the numericals discussed or given in class ( Both of CG & simulation)

Saturday, September 4, 2010

SIMULATION LAB 5

/*
#include

using namespace std;

int main(void)
{
cin.get();//pause
return 0;

}//end main

*/

TASK 2 add RNG.h
#include
#include
#include


//wrapper class to the built in C rand() function
class RNG
{

public:
RNG();
~RNG();

// the point of using const on a parameter to a function should be to let your compiler know
// that the parameter shouldnot be modified during your program
// this alllow your to keep your code safe and bug-free


int generate(const int &lower, const int & upper );
double generate(const double & lower,const double &upper);

protected:
time_t seconds; //seed value
};



RNG::RNG()
{ // the constructor seeeds the RNG number generator that is in

time(&seconds); //get value from system clock and place in seconds variable
srand((unsigned int) seconds);
}
RNG::~RNG()
{

}
int RNG::generate(const int &lower, const int &upper)
{
return((rand()%(upper-lower))+lower); // Genereate a number between 'lower' and 'upper'

}
double RNG::generate(const double &lower, const double&upper)
{
return ((double) rand()/((RAND_MAX)+1.0)) * (upper-lower)+lower;

}


//TASK 3 RNG in main

#include
#include "RNG.h"
using namespace std;

int main(void)
{
RNG r ;
for(int i=0; i<10;i++)//test simple int random
cout << r.generate(0,12)<for(int i=0; i<10; i++) //test simple float random
cout <
cin.get(); //pause
return 0;
}
//end main

NEWS ALERT

Assalam o alikum ,
Networking ka midterm Eid ka baad wali class mien hoga .
ARSALAN SHAHID
BSCS -III SECTION A
UBIT

SMS AT ANY NETWORK

STAND UP 4 THE CHAMPION

Search This Blog