• Congratulations to the Class of 2024 on your results!
    Let us know how you went here
    Got a question about your uni preferences? Ask us here

SDD "Last Minute" Questions (1 Viewer)

sunny

meh.
Joined
Jul 7, 2002
Messages
5,350
Gender
Male
HSC
2002
The SDD HSC exam is near. This thread is to help anyone that have last minute questions right up to the start of the exam.

1) Do NOT post comments in this thread.

2) Questions and replies to questions only.

3) Do NOT repeat your question if not answered.

None of us are SDD Fairies (except maybe SamD) - I myself (and I'm sure many helpers) will be monitoring this thread closely right up to the start of the exam - if your question does not get answered do not despair.

To make sure you question gets answered quickly, ask brief, concise and to the point questions - long response questions is unlikely to get you a good answer.

Good luck all!
 

Terra_Niux

l337 h4x0r
Joined
Feb 5, 2004
Messages
93
Gender
Male
HSC
N/A
Code:
1 BEGIN Autoteller Management System
2 System_on = TRUE
3 Validated = FALSE
4 WHILE Switched_on
5 Customer Number = 0
6 StoredPassword = “ ”
7 Validated = FALSE
8 CardInSlot = FALSE
9 WHILE NOT CardInSlot
10 READ cardslot
11 IF Card is located in cardslot THEN
12 CardInSlot = TRUE
13 ENDIF
14 ENDWHILE
15 AcceptCardDetails (CustomerNumber, StoredPassword)
16 AcceptAndValidatePassword (StoredPassword, Validated)
17 IF Validated = TRUE THEN
18 AcceptMenuChoice(Validated, CustomerNumber)
19 ENDIF
20 READ System_on
21 Validated =TRUE
22 ENDWHILE
23 END
The above pseudocode represents the mainline of the Bank Autoteller
Management System. The system has a logic error.

(ii) Locate the error and describe its effect on the system. Using pseudocode
similar to that of the original, alter the algorithm to remove the error.

(iii) Using pseudocode similar to the mainline, develop an algorithm to
perform the task of the AcceptAndValidatePassword module. If the
password is incorrect, the user is allowed two further attempts to enter a
correct password.

ugghh.. help please
 

smallcattle

Member
Joined
Jul 6, 2004
Messages
443
Location
blacktown
Gender
Undisclosed
HSC
2010
how to draw a structured diagram???

i cant find any examples in the text book that shows you how to draw it
 

xeriphic

Member
Joined
May 7, 2004
Messages
452
Location
Sydney
what is the difference between these two debugging techniques

program trace and single line stepping thanks for the help
 

ZzJasonzZ

Member
Joined
Mar 25, 2004
Messages
36
Location
Sydney
smallcattle said:
how to draw a structured diagram???

i cant find any examples in the text book that shows you how to draw it
If you go to the boardofstudies site and do the paractice hsc multiple choice questions i remember seeing a few there

Edit: 2002 Question 14 and 15
 
Last edited:

ZzJasonzZ

Member
Joined
Mar 25, 2004
Messages
36
Location
Sydney
xeriphic said:
what is the difference between these two debugging techniques

program trace and single line stepping thanks for the help
- Program trace – as the program runs, it prints out details of what has just been executed. This can include statement numbers or routine names as appropriate.
- Single line stepping – the source code executes one line at a time, and waits for the programmer to indicate when to execute the next line.
 

Wild Dan Hibiki

teh sex0r
Joined
Feb 28, 2004
Messages
649
Gender
Undisclosed
HSC
2004
Distinguish between black and white box testing. I always forget which does what.
 

sparkl3z

Active Member
Joined
Jul 23, 2003
Messages
1,017
Location
spacejam
Gender
Undisclosed
HSC
N/A
ok guys quick question, what is the difference between a function and a procedure? can somebody plz describe? tnx
 

ZzJasonzZ

Member
Joined
Mar 25, 2004
Messages
36
Location
Sydney
Wild Dan Hibiki said:
Distinguish between black and white box testing. I always forget which does what.
imagine black box as the code in a black box where you can't see it.. so you just try all different values to find errors where as white box you can see through the box into the code and therefor the test values test all pathways and boundaries .. (lame i know but it helps ;)
 

sunny

meh.
Joined
Jul 7, 2002
Messages
5,350
Gender
Male
HSC
2002
Wild Dan Hibiki said:
Distinguish between black and white box testing. I always forget which does what.
White box - the algorithm itself is checked for errors. ie, you follow the path the data takes in the algorithm

Black box - the insides of the algorithm/module are unknown. You only check the outputs to see if they are correct for that input.


sparkl3z said:
ok guys quick question, what is the difference between a function and a procedure? can somebody plz describe? tnx
This may be language dependent. Functions return a value. Procedures perform a task, but may not return a value.


menty said:
describe how a flip flop stores data. Include a decription of the latch component
What type of FF? What type of latch?
 
Last edited:

neuro_logik

Member
Joined
Mar 22, 2004
Messages
581
Location
The Global Interweb
Gender
Male
HSC
2004
Wild Dan Hibiki said:
Distinguish between black and white box testing. I always forget which does what.
Black Box feeding the code inputs and observing the outputs without knowing the exact operations which are leading to the output.

White Box Looking at the internal operations of the code and how it conducts operations
 

ZzJasonzZ

Member
Joined
Mar 25, 2004
Messages
36
Location
Sydney
Wild Dan Hibiki said:
Simple Q: What's a flip flop?
A flip flop is a speciality circuit which allows us to shift bits in a register. Its primary purpose is to store a bit in memory. There are three requirements for this circuit:
1. Must be a bistable device – Stable in 2 states (1 or 0)
2. It should stay in the state to which it has been set until it is physically reset
3. It should have a non-destructive readout.
 

sunny

meh.
Joined
Jul 7, 2002
Messages
5,350
Gender
Male
HSC
2002
Wild Dan Hibiki said:
Simple Q: What's a flip flop?
It is a hardware device usually consisting of 4 NAND or NOR gates that can be used as a memory cell that stores one bit. It can be "set" to hold data and "reset" to not hold any data.

This is part of Software Developer's View of Hardware option topic.
 

menty

Member
Joined
Feb 11, 2004
Messages
119
Location
riding the roflcopter made by loldude
Gender
Male
HSC
2010
RS NOR flip flop sunny.. and

Q: calculate (30-6) / 5 using the binary system in 6bit 2s comp (the answers say its 000100 as fractions cannot b represented, y cant it be 100 R 100)
 

Freedom_Dragon

The 36th Dragon
Joined
Oct 11, 2003
Messages
154
Location
Behind a door that will never open.
Gender
Undisclosed
HSC
N/A
smallcattle said:
how to draw a structured diagram???
The white circle with an arrow indicates the movement of parameter between task/modules.

The black circle with an arrow indicates a flag (eg: Valid pay)

The right angle indicates a decision/option

The curved arrow indicates repetition.

Use these and u can draw any strucutred diagram

sparkl3z said:
ok guys quick question, what is the difference between a function and a procedure? can somebody plz describe? tnx
Function returns 1 value/variable
Procedures returns 1 or more values/variables
 

Seraph

Now You've done it.......
Joined
Sep 26, 2003
Messages
897
Gender
Male
HSC
N/A
17 9 12 18 2 6 14

take a look at these nubmers , after 2 passess of an ascending insertion sort apaprently the array appears


2 9 12 14 6 17 18


why is this so? i know how these work , im just nto seeing it here?

DISREGARD THIS POST AS I WAS LOOKING AT THE WRONG ANSWER
 
Last edited:

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

Top