MedVision ad

SDD Marathon 2013 (1 Viewer)

RMKD123

New Member
Joined
Apr 28, 2012
Messages
27
Gender
Male
HSC
2013
Do you think we might have to compare the data streams of 2 different devices such as a printer vs a mouse?
 

hjed

Member
Joined
Nov 10, 2011
Messages
211
Gender
Undisclosed
HSC
2013
Ok, here's another scenario.

Bob is an account, his job involves a number of repetitive tasks and he realises that developing a software solution would improve his efficiency.

1. What should Bob consider before beginning development. (3)
2. Bob decides to go ahead with development. Bob has little previous programming experience and a small budget. What approach should Bob use? Justify your answer. (4)
3. In part of his program Bob must sort a list of his clients into alphabetical order. The clients are stored in an array and Bob writes the following code:

Code:
BEGIN sortClients(clientList)
     
      

     For count = clientList.length -1  TO  2 STEP -1
            SET postion = count
             SET next = clientList[count]
            WHILE next > clientList[count] AND next < clientList.lenght THEN
                 

                INCREMENT position
                SET sortedList(position ) = sortedList(position)
             ENDWHILE
             
            SET clientList(position) = next
           
     Next count
END sortClient
i. What type of sort has Bob attempted to write?
ii. Find two errors in the code, and correct them. (2)
iii. Chose one of your errors from part i, what sort of testing should Bob have done to find this error? Justify your answer. (3)


Would appreciate if people could keep posting questions.
 

hjed

Member
Joined
Nov 10, 2011
Messages
211
Gender
Undisclosed
HSC
2013
Do you think we might have to compare the data streams of 2 different devices such as a printer vs a mouse?
That's a possible question. I don't think its very likely, but you might have to compare the efficiency of two protocols from the same device
 

hjed

Member
Joined
Nov 10, 2011
Messages
211
Gender
Undisclosed
HSC
2013
hey dude you studying for mx1?

i've given up on it >_>
I've been doing alternating hours of MX1 and SDD.
It'll probably decrease my mark in SDD, but I need to get a reasonable mark in MX1.
Really annoyed that these are on the same day :/
 

xer0

Member
Joined
Aug 28, 2013
Messages
167
Location
Sydney     ATAR Aim:   85+      Penis Size:  9001
Gender
Male
HSC
2013
This thread is derailing, so here are some hardware questions.

What is 87 in hexadecimal? (2)
What is the 2s complement for 42 (1)
What is 34+(-29)? (2)
Define the agile approach and how does it differ from the structured approach? (3)
How is 249.0625 expressed in 32-bit IEEE754 (3)
What is usually in the data-stream header and trailer? (2)
How does a flip-flop function? (3)
How many inputs and outputs does a full-adder have, what are they and what is their purpose? (4)
What is the binary code for a "space" character in ASCII? (2)
What is the difference between ASCII and Unicode? (4)
How many bits does UTF typically use? Is this more effective than ASCII? How so (4)


Goodluck guys.
 

Shazer2

Member
Joined
Feb 16, 2012
Messages
439
Gender
Male
HSC
2013
This thread is derailing, so here are some hardware questions.

What is 87 in hexadecimal? (2)
What is the 2s complement for 42 (1)
What is 34+(-29)? (2)
Define the agile approach and how does it differ from the structured approach? (3)
How is 249.0625 expressed in 32-bit IEEE754 (3)
What is usually in the data-stream header and trailer? (2)
How does a flip-flop function? (3)
How many inputs and outputs does a full-adder have, what are they and what is their purpose? (4)
What is the binary code for a "space" character in ASCII? (2)
What is the difference between ASCII and Unicode? (4)
How many bits does UTF typically use? Is this more effective than ASCII? How so (4)


Goodluck guys.
1. 87 in hexadecimal, convert to binary 01010010, separate into nibbles (4 bits each) to get 0101 and 0010. That's 52. Hence, 82 in hexadecimal is 52.
2. 42 in binary is 00101010 so 2s complement for 42 is 11010110.
3. 34 + (-29) = 00100010 + 11100011 = 00000101
4. The agile approach is a much more flexible approach to software development. Agile approach teams are usually small and problems are usually broken down within this development approach. As a result of this, project requirements don't have to be fully known as it's adaptable. However, the structured approach is more formal and follows a chronological process. Each stage of the software development cycle is followed in order. Program requirements must be fully known before undertaking the structured approach.
5. 249.0625 = 11111001.0001. By representing in scientific notation we get 1.11110010001 x 2^7. Therefore mantissa = 11110010001000000000000. To get exponent we add 127 to the power to get 134, which is 10000110. Therefore 249.0625 is 0 10000110 11110010001000000000000.
6. In the header there's usually information on the kind of data, error checking data and the amount of data to follow. In the trailer there is usually error checking data and data to indicate the end of the data.
7. I'm not really sure, never really understood them. If somebody could explain that'd be great.
8. A full-adder has 3 inputs, the carry and the 2 bits to be added. The carry is the carried number from the previous addition.
9. space in ASCII = 32, so in binary space is 00100000.
10. Unicode is a 16-bit based representation of characters. It allows for over a hundred thousand different characters, much greater than the 127 allowed in the 7-bit ASCII representation. Unicode allows for all the main languages in the world, where as ASCII doesn't.
11. No idea, we didn't do this.

how do you do this?

19 Consider the following EBNF definition of a mussum string.
Which of the following is a legal mussum string?
(A) m1
(B) muum
(C) mu1sm
(D) mussum
You need to show the EBNF definition of a mussum string for us to be able to answer it.
 

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

Top