WGU C777 (COMPUTER PROGRAMING) PA MULTIPLE CHOICE EXAM QUESTIONS AND ANSWERS WESTERN GOVERNORS’ UNIVERSITY
What are variables that are to a function called?
A) Arguments
B) Statements
C) Keywords
D) Prompts
Answer -Arguments
What must follow the name of a function in a JavaScript function
declaration?
A) Script block
B) Curly braces
C) Calling statement
D) Parenthesis
Answer -Parenthesis
Which method should a developer use to create a message and request
user input in a text field?
A) confirm
B) prompt
C) alert
D) write
Answer -prompt