Computer Science Unit 2 Question and Answer 100% Correct
Computer Science Unit 2 Question and Answer 100% Correct In the following function printThreeTimes: function printThreeTimes(word){ println(word); println(word); println(word); } What is the parameter of the function? - word What is the proper function to call to print to the screen? - println What keyword do you need to use to define a variable in JavaScript? - var To ask the user of the program for a number, which function should you use? - Both readInt and readFloat are for numbers. What function do you need to call to ask the user of the program to enter text? - readLine What will the following code print to the screen?
Written for
- Institution
- Computer Science
- Course
- Computer Science
Document information
- Uploaded on
- April 11, 2024
- Number of pages
- 22
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
computer science unit 2
Document also available in package deal