Comp 115, Help Me, Dunno Anything! (1 Viewer)

Catastrophe

Member
Joined
Mar 7, 2004
Messages
99
Gender
Male
HSC
2004
ok, my last exam and the one i'm most afraid of...i stopped looking at it ever since wk 9 or something...since i thought i'll fail for not doing practs, got about 75% average for the first 3 assignments, didnt do the 4th one at all (yes, u heard me..)

i really wanna get at least a PC for this crap...i know absoutely nothing past lecture 7...ever since void came up, i tried to use them so many times and still dont get it...

any help? i dont understand any stuff after the mid sem break

if u use MSN, i'll always be on, cosmicnova@hotmail.com
 

...

^___^
Joined
May 21, 2003
Messages
7,723
Location
somewhere inside E6A
Gender
Male
HSC
1998
i'm willing to give you guys a crash course for this subject

ie teaching you main stuff like:

how to use a loop
array
how to put an array into a loop
how to cout and cin


but if you want expert advice, ask doe or ryan-cock
;)
 
Last edited:

redruM

Breathe and Stop
Joined
May 11, 2004
Messages
3,954
Gender
Male
HSC
2003
cutie

man i am not even asian and i understood that >.< ^_^ :/
 

Supra

secksy beast
Joined
Sep 27, 2003
Messages
2,399
Location
On Top.
Gender
Male
HSC
2004
lmao...even i knew what qt was :p
lol at "ryan-cock"...hes alreay my tutor, but today he basically said the exam is gonna b hard, we cant compile so its hard to know if our code is right...hence i should b afraid, very afraid...

i wouldnt mind a crash course...im gonna check out the net first tho...and hten the textbook which is actually awesome
 

Catastrophe

Member
Joined
Mar 7, 2004
Messages
99
Gender
Male
HSC
2004
... said:
i'm willing to give you guys a crash course for this subject

ie teaching you main stuff like:

how to use a loop
array
how to put an array into a loop
how to cout and cin


but if you want expert advice, ask doe or ryan-cock
;)
i need help on arrays and void, thanks...

looked at the sample questions, the first part is actually really easy..
 

stepher

Member
Joined
Jan 26, 2005
Messages
44
Gender
Female
HSC
N/A
sample paper =(

okay im doing the sample paper, and its gotto say something if im stuck on question 1.... BUT... here goes,
it could just be the lack of sleep ive been getting, but does this look wrong to anyone?
(im looking at the past paper or sample paper on the website.. and the sample answers posted with it. section B question 1a ).

QUESTION: convert the FOR loop to a WHILE loop
for (int k = 100; k>=10; k--)
cout<<k;

MY ANSWER:
int k=100;
while (k>=10);
{
k--;
cout<<k;
}

GIVEN ANSWER:
int k=100;
while (k>=10);
{
k++;
cout<<k;
}
 

flyin'

EDIT
Joined
Aug 21, 2002
Messages
6,677
Gender
Undisclosed
HSC
N/A
stepher, your answer looks right.

[the given answer would cout 101, 102, ... all the way to infinity (or before you shut down the computer, or its crashes your computer, or you shut down the program).]
 

stepher

Member
Joined
Jan 26, 2005
Messages
44
Gender
Female
HSC
N/A
thanks flyin'! that really put me off though. doing question 1 and going "score! theres like 6marks/100" then looking down to get it wrong. GRR! always out to screw me over this comp department!!
 

:: ck ::

Actuarial Boy
Joined
Jan 1, 2003
Messages
2,414
Gender
Male
HSC
2004
if u wanna be totally correct, remove the semicolon on the while line :p

haha soz for being picky ;)
 

stepher

Member
Joined
Jan 26, 2005
Messages
44
Gender
Female
HSC
N/A
jezzmo said:
I didn't know classes at all for the exam and relied almost entirely on Algorithm Pseudocode from SDD in year 12. Still managed a Cr
but did you do really well in the assignments and pracs and stuff? to score a Cr?

cos i havent done too well in the assignments.
for the first one, i really had no idea what i was doing.. so didnt autorun and got like 3/10. didnt do the 2nd one. third one was an alright one got like 7/10. but fully stuffed up the last one.

aaaaaaaand... i didnt do sdd either.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top