You are Here: Home

# National 5 Computing Science Watch

1. (Original post by Ethan100)
This for example :

Attachment 538799

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 ?
2. (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
3. (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 !!
4. (Original post by Ethan100)
Thank you guys so much !!
No problem

(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
5. (Original post by Lewis H01)
No problem

Do I sense some sarcasm ? :P
6. (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
7. Is the exam tomorrow?
P.S When does exam leave end for you guys?
8. (Original post by Lewis H01)
All my exams are finished so I have no revision
9. (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 ?
10. (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.
11. Could anyone give me a list of everything that is most likely to come up?

I'll give rep to those who reply
12. (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
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
13. (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?
14. (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
15. (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.
16. What's a database with more than 1 table called ?
17. (Original post by Ethan100)
What's a database with more than 1 table called ?

Posted from TSR Mobile
18. (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
19. (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
20. Can anyone tell me all I need to know about the processor for National 5

TSR Support Team

We have a brilliant team of more than 60 Support Team members looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.

This forum is supported by:
Updated: August 12, 2017
Today on TSR

### Last-minute PS help

100s of personal statements examples here

### Loneliness at uni

Discussions on TSR

• Latest
• ## See more of what you like on The Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

• Poll
Applying to university

Our tool will help you find the perfect uni course for you

Don't miss out on a place at uni - get clearing email alertsStudy Help rules and posting guidelines

## Groups associated with this forum:

View associated groups
Discussions on TSR

• Latest
• ## See more of what you like on The Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

• The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE

Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.