Hey there! Sign in to join this conversationNew here? Join for free
    • Thread Starter
    Offline

    2
    ReputationRep:
    (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 ?
    Offline

    2
    ReputationRep:
    (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
    Offline

    2
    ReputationRep:
    (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 !!
    • Thread Starter
    Offline

    2
    ReputationRep:
    (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
    Thanks, that's helpful...
    Offline

    2
    ReputationRep:
    (Original post by Lewis H01)
    No problem



    Thanks, that's helpful...
    Do I sense some sarcasm ? :P
    • Thread Starter
    Offline

    2
    ReputationRep:
    (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
    Offline

    6
    ReputationRep:
    Is the exam tomorrow?
    P.S When does exam leave end for you guys?
    Offline

    6
    ReputationRep:
    (Original post by Lewis H01)
    Thanks. how's your revision going?
    All my exams are finished so I have no revision
    Offline

    2
    ReputationRep:
    (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 ?
    Offline

    6
    ReputationRep:
    (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.
    • Thread Starter
    Offline

    2
    ReputationRep:
    Could anyone give me a list of everything that is most likely to come up?

    I'll give rep to those who reply
    Offline

    17
    ReputationRep:
    (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
    • Thread Starter
    Offline

    2
    ReputationRep:
    (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?
    Offline

    17
    ReputationRep:
    (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
    Offline

    2
    ReputationRep:
    (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.
    Offline

    2
    ReputationRep:
    What's a database with more than 1 table called ?
    Offline

    17
    ReputationRep:
    (Original post by Ethan100)
    What's a database with more than 1 table called ?
    Relational/linked database


    Posted from TSR Mobile
    Offline

    17
    ReputationRep:
    (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
    Offline

    2
    ReputationRep:
    (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
    Offline

    2
    ReputationRep:
    Can anyone tell me all I need to know about the processor for National 5
 
 
 
  • 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
    Brussels sprouts
    Applying to university
  • 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

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