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?
Información del documento
- Subido en
- 11 de abril de 2024
- Número de páginas
- 22
- Escrito en
- 2023/2024
- Tipo
- Examen
- Contiene
- Preguntas y respuestas