The Student Room Group

National 5 Computing Science

Scroll to see replies

Reply 100
Original post by Ethan100
This for example :


rrereye.png

Can you please show me how to do it ?
Thanks !


4*6*600*600 = 8640000 pixels
8640000*24 = 207360000 bits
207360000/8 = 25920000 bytes
25920000/1024 = 25312.5 KB
25312.5/1024 = 24.72MB

Original post by Ethan100
An Array is basically just a list
A string is numbers and characters which are together

I usually notice array when there are square brackets, e.g. A shopping list
["Milk", "Yoghurt", "Cheese"]

Well that's how it looked like in Python


How do you identify a string In python ?
Original post by Lewis H01
4*6*600*600 = 8640000 pixels
8640000*24 = 207360000 bits
207360000/8 = 25920000 bytes
25920000/1024 = 25312.5 KB
25312.5/1024 = 24.72MB



How do you identify a string In python ?


Do you use Python too ?

Well I look at the variables

Var1 = 255 : This is an example of an integer
Var2 = Hello : This is an example of a string
Var3 = Hello221 : This is another example of a string
Original post by A+Hunter
Basically what you want to do is the following:

Inch*Inch*DPI*Colour Bit Depth
4*6*600*24
=345600 (BITS) / 8 (Divide by 8 here)
=43200 (BYTES) /1024 (Divide by 1024here)
= 42.1975 KiloBytes
Leave your answer as Kilobytes unless the question says otherwise. To convert to MegaBytes just divide by 1024 and then to convert to giga just divide by 1024 and so on...

If they don't give you the DPI then just do:
Inch*Inch*Colour Bit Depth

And then do all the other steps


Original post by Lewis H01
4*6*600*600 = 8640000 pixels8640000*24 = 207360000 bits207360000/8 = 25920000 bytes25920000/1024 = 25312.5 KB25312.5/1024 = 24.72MBHow do you identify a string In python ?



Thank you guys so much !!
Reply 103
Original post by Ethan100
Thank you guys so much !!


No problem :smile:

Original post by Ethan100
Do you use Python too ?

Well I look at the variables

Var1 = 255 : This is an example of an integer
Var2 = Hello : This is an example of a string
Var3 = Hello221 : This is another example of a string


Thanks, that's helpful...
Original post by Lewis H01
No problem :smile:



Thanks, that's helpful...


Do I sense some sarcasm ? :P
Reply 105
Original post by Ethan100
Do I sense some sarcasm ? :P


Nah, for real man that helped and by using your methods I'm getting the correct answers :tongue:
Is the exam tomorrow?
P.S When does exam leave end for you guys?
Original post by Lewis H01
Thanks. :smile: how's your revision going?


All my exams are finished so I have no revision :biggrin:
Original post by sameehaiqbal
Is the exam tomorrow?
P.S When does exam leave end for you guys?


Yeah it's tomorrow HELLPP, any advice ?
Original post by Ethan100
Yeah it's tomorrow HELLPP, any advice ?


You will easily pass trust me as long as you did well in your assignment. Trust me. Don't worry at all.
Reply 110
Could anyone give me a list of everything that is most likely to come up?

I'll give rep to those who reply :smile:
Original post by Lewis H01
Could anyone give me a list of everything that is most likely to come up?

I'll give rep to those who reply :smile:


Most definetely pseudocode 4/5 markers, File size of graphic, representing binary numbers, legal/ security implications, maybe Laws like computer misuse act. Database knowledge. And probably most likely a little of computer architecture.


Posted from TSR Mobile
Reply 112
Original post by RossB1702
Most definetely pseudocode 4/5 markers, File size of graphic, representing binary numbers, legal/ security implications, maybe Laws like computer misuse act. Database knowledge. And probably most likely a little of computer architecture.


Posted from TSR Mobile


The address/data bus? User interface? Networks?

Also how many pseudocode questions will there be?
Original post by Lewis H01
The address/data bus? User interface? Networks?

Also how many pseudocode questions will there be?


Yes them. Pseudocode id say 2-3 probably.


Posted from TSR Mobile
Original post by RossB1702
Most definetely pseudocode 4/5 markers, File size of graphic, representing binary numbers, legal/ security implications, maybe Laws like computer misuse act. Database knowledge. And probably most likely a little of computer architecture.


Posted from TSR Mobile


Ross, do you know that negative decimal to binary thing? I think it's called Two's Compliment. Do you think one will come up because it's always been a positive decimal number to binary question in the past.
What's a database with more than 1 table called ?
Original post by Ethan100
What's a database with more than 1 table called ?


Relational/linked database


Posted from TSR Mobile
Original post by Ethan100
What's a database with more than 1 table called ?


Also note it would be beneficial if you knew the advantages to relational databases over flat file database.
Eg modification error, data insertion error and data deletion error.


Posted from TSR Mobile
Original post by RossB1702
Also note it would be beneficial if you knew the advantages to relational databases over flat file database.
Eg modification error, data insertion error and data deletion error.


Posted from TSR Mobile


Thanks Ross
Can anyone tell me all I need to know about the processor for National 5

Quick Reply

Latest

Trending

Trending