Computer Science OCR Controlled asessment

Announcements
    • Thread Starter
    Offline

    0
    ReputationRep:
    I need a lot of help with my OCR GCSE coursework for Computer science. Is anyone willing to help - i post a list of questions below. Grateful -



    1. Often, a web designer wants a change to happen when a user clicks on a screen object or moves the mouse over it. JavaScript can make changes to the HTML elements.
    Enter and run this script. <!DOCTYPE html> <html> <body> <h1>Change an HTML element</h1> <p id="msg">Now you see me.</p> <button type="button" onclick="document.getElementById ('msg').innerHTML = 'Gone!'"> Click Me!</button> <button type="button" onclick="document.getElementById ('msg').innerHTML = 'Back again!'"> Bring me back!</button> </body> </html> (i) Explain how you ran this script. (ii) Explain what each line of the script does.
    4
    A452 Jun17© OCR 2015
    Oxford Cambridge and RSA
    Copyright Information OCR is committed to seeking permission to reproduce all third-party content that it uses in its assessment materials. OCR has attempted to identify and contact all copyright holders whose work is used in this paper. To avoid the issue of disclosure of answer-related information to candidates, all copyright acknowledgements are reproduced in the OCR Copyright Acknowledgements Booklet. This is produced for each series of examinations and is freely available to download from our public website (www.ocr.org.uk) after the live examination series. If OCR has unwittingly failed to correctly acknowledge or clear any third-party content in this assessment material, OCR will be happy to correct its mistake at the earliest possible opportunity. For queries or further information please contact the Copyright Team, First Floor, 9 Hills Road, Cambridge CB2 1GE. OCR is part of the Cambridge Assessment Group; Cambridge Assessment is the brand name of University of Cambridge Local Examinations Syndicate (UCLES), which is itself a department of the University of Cambridge.
    2. As is the case with most programming languages, in JavaScript you can use arrays in order to store multiple values under the same identifier.
    For example, an array of products can be set up as below for use on an ecommerce web site. var products = ["Printer","Tablet","Router"]; (i) Set up an array to include the items shown above, plus a few extras of your choice. (ii) Write a script that: • outputs the items in alphabetical order • counts the number of items in the array.
    In each case, plan, implement, test and demonstrate the scripts.
    3. Changes made to HTML elements such as images can be useful when producing animations.
    It is possible to display a traffic light sequence on a web page. When the button ‘Change lights’ is clicked, the lights change according to the sequence.
    Change lights
    (i) Make a list of assets that will be required in order to produce this display. (ii) Describe and explain where the assets will be best located. (iii) Describe the structure of an array that could be used to handle the traffic light sequence. (iv) Write a script that uses the array described in part (iii) to produce an animation of a set of traffic lights such that the lights change in the standard sequence each time the button is clicked.
    4. Change the animation script so that the sequence of lights is displayed automatically on a timed basis without user input.
    5. Scripts can be embedded in the HTML of web pages or saved externally as script files. Discuss the benefits and drawbacks of each approach.
    Offline

    2
    ReputationRep:
    Oh i'm still starting- i find it quite difficult
    Offline

    0
    ReputationRep:
    help im stuck too. did you get anything
    Offline

    0
    ReputationRep:
    balls
    Offline

    0
    ReputationRep:
    Help meeeeeeeeeeeeeeeeeeee
    Offline

    3
    ReputationRep:
    Did you really post your A452 coursework task on here and expected people to do it for you?
    Offline

    3
    ReputationRep:
    (Original post by s4b3rt00th)
    Did you really post your A452 coursework task on here and expected people to do it for you?
    Why wouldn't he? You're very quick when it comes to spoon feeding people, I might as well post my EPQ task here for you to complete.
    Offline

    0
    ReputationRep:
    (Original post by Aklaol)
    Why wouldn't he? You're very quick when it comes to spoon feeding people, I might as well post my EPQ task here for you to complete.
    Is that even allowed? We were told not to share the questions or our answers on the internet. (A452 OCR Computing)
    Offline

    3
    ReputationRep:
    (Original post by _Jek_)
    Is that even allowed? We were told not to share the questions or our answers on the internet. (A452 OCR Computing)
    Of course it isn't allowed, but evidently people are morons.
    Offline

    2
    ReputationRep:
    LOL if someone "assists" him with it, please PM me with the assistance as well. Though I doubt this topic will get removed, just incase.
    Offline

    3
    ReputationRep:
    looollll the CAs for OCR Computing are so easy - and anyway, the majority of the marks are for how well you write up about it, not the program itself.
    Offline

    0
    ReputationRep:
    done
 
 
 
Write a reply… Reply
Submit reply

Register

Thanks for posting! You just need to create an account in order to submit the post
  1. this can't be left blank
    that username has been taken, please choose another Forgotten your password?
  2. this can't be left blank
    this email is already registered. Forgotten your password?
  3. this can't be left blank

    6 characters or longer with both numbers and letters is safer

  4. this can't be left empty
    your full birthday is required
  1. Oops, you need to agree to our Ts&Cs to register
  2. Slide to join now Processing…

Updated: January 9, 2017
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.

Today on TSR
Poll
Does your body insecurities make you avoid PE or exercise?
Useful resources
Study resources

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.