• Best of luck to the class of 2024 for their HSC exams. You got this!
    Let us know your thoughts on the HSC exams here
  • YOU can help the next generation of students in the community!
    Share your trial papers and notes on our Notes & Resources page
MedVision ad

[Option Topic] Evolution of prgramming languages (1 Viewer)

Ragerunner

Your friendly HSC guide
Joined
Apr 12, 2003
Messages
5,472
Location
UNSW
Gender
Male
HSC
2003
Evolution of prgramming languages

Anyone else who did this find it really hard?

I mean the section where you had to add extra code.

I was totally WTF!?!?!?!?
 

Ragerunner

Your friendly HSC guide
Joined
Apr 12, 2003
Messages
5,472
Location
UNSW
Gender
Male
HSC
2003
All the other evolution questions i did in past papers were quite easy to identify and re-write code but this one was WTF.

:(

I think i'd get about 65-75/100

Damn algorithms :(
 

HelenN

New Member
Joined
Nov 6, 2003
Messages
14
Gender
Female
HSC
2003
was it logic or functional for that crappy piece of code???
 

parry

Member
Joined
Oct 25, 2003
Messages
45
Location
Lismore
yeah i have to agree, the sample of code didnt show us how to add stuff to the database (as far as i could tell) and there was too much on functional languages, my book only has like a paragraph or two, so i was screwed
 

Fiona

Member
Joined
Apr 28, 2003
Messages
135
Location
Sydney
I had no idea what assert meant, so I made something else up :)

I found the whole evolution part really difficult. Damn you, paradigms!
 

chris42

Member
Joined
Oct 4, 2003
Messages
649
Location
Sydney
Gender
Male
HSC
2004
I found it hard as well that bit with the writing an algorithm from that extract of a language...
 

psycho_mushy

Member
Joined
Aug 22, 2003
Messages
661
Gender
Undisclosed
HSC
1998
I said the language was OOP

the class

the attributes and methods were together

ie. the go and list were together and ended together.. there since OOP has encapsulation.... that made me think it was OOP

I thought was logic but then when I looked at it there weren't any facts and rules...... and then OOP looked fine coz of the class and attirbutes things
 

blazing9

New Member
Joined
Oct 22, 2003
Messages
5
I said it was logical, it had a predicent and atoms and had a knowledge base which it referred to. Ooo I hope it was logical. Other than that and Hexadecimal, it was easier than I expected
 

woohoo

New Member
Joined
Oct 29, 2003
Messages
22
yeah im pretty sure it was Logic aye. I meen it seemed like it was written in Prolog. & it had facts & rules.. so yeah.. probably logic. hope so anyway!
 

squ34ki

heavenian woohzaa!
Joined
Aug 26, 2003
Messages
26
Location
Citizen of Heaven
Gender
Undisclosed
HSC
2005
Originally posted by Monkeybone
I put logic

It had facts, rules and manipulated data from databases

meh!
i had logic too, the assert(countries(Australia)
was fact,
the country(x), capital ( x Y)
was the rules
 

Ragerunner

Your friendly HSC guide
Joined
Apr 12, 2003
Messages
5,472
Location
UNSW
Gender
Male
HSC
2003
LOL

I wrote those as well, but i said OOP hahha!!!!
 

squ34ki

heavenian woohzaa!
Joined
Aug 26, 2003
Messages
26
Location
Citizen of Heaven
Gender
Undisclosed
HSC
2005
OOP?
where's didya get that?
theren't any classes?
i nearly got functional
a couple of my friends did that.
 

Monkeybone

New Member
Joined
Mar 29, 2003
Messages
16
Originally posted by squ34ki
i had logic too, the assert(countries(Australia)
was fact,
the country(x), capital ( x Y)
was the rules
sweet, exactly what i did :cool:
 

stag_j

Member
Joined
Jul 21, 2003
Messages
95
Location
Sydney
ok how about a(i)?
was anyone else not able to give an example fragment of code for functional paradigm?
for procedure i just did something along the lines of:
BEGIN
INPUT A
INPUT B
C=A+B
PRINT C
END
and said that this demonstrated the sequencial nature of imperative languages...

this is the only question in the test that really threw me - i had trouble coming up with a definition that sounded good.
 

psycho_mushy

Member
Joined
Aug 22, 2003
Messages
661
Gender
Undisclosed
HSC
1998
SamD what is ur opinion on the evolution of programming languages? was the code OOP or logic? please explian :)
 

SamD

Member
Joined
Jul 21, 2002
Messages
256
Gender
Male
HSC
N/A
I've only got Section II. Scan in the rest and I'll comment...
 

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

Top