COPA
Studio Exams - Online Exam and Course Learning
Toggle navigation
Toggle Search
Home
Quiz
Edutainment
Stories
Jokes
Quotes
Exam updates
Latest questions
notifications
Results
Trending Exams
My Account
Visual Basic Question Monthly COPA Test 2017
Start Quiz
Advertise Here
Questions for Visual Basic Question Monthly COPA Test 2017 exam
Q:21)
How can you add a comment in a JavaScript?
A
//This is a comment
Correct !
B
< 1--This is a comment-->
Incorect !
C
'This is a comment
Incorect !
D
None of above
Incorect !
Answer:
A
Report
Discuss
Q:22)
How does a "for" loop start?
A
for (i=0; i < =5)
Incorect !
B
for i =1 to 5
Incorect !
C
for (i =0; i < = 5; i++)
Correct !
D
for (i <=5; i++)
Incorect !
Answer:
C
Report
Discuss
Q:23)
How many different kind of loops are there in JavaScript?
A
1
Incorect !
B
2
Correct !
C
3
Incorect !
D
4
Incorect !
Answer:
B
Report
Discuss
Q:24)
How do you write a conditional statement for executing some statements only if "i" is equal to 5?
A
if (i==5)
Correct !
B
if i=5
Incorect !
C
if i=5 then
Incorect !
D
if i==5 then
Incorect !
Answer:
A
Report
Discuss
Q:25)
How many different kind of conditional statements are there in JavaScript?
A
1
Incorect !
B
2
Incorect !
C
3
Correct !
D
4
Incorect !
Answer:
C
Report
Discuss
Q:26)
How do you create a function?
A
function myFunction()
Correct !
B
function=myFunction()
Incorect !
C
function:myFunction()
Incorect !
D
function(myfunction)
Incorect !
Answer:
A
Report
Discuss
Q:27)
How do you write "Hello World" in an alert box?
A
alert("Hello World")
Correct !
B
alertBox="Hello World"
Incorect !
C
alertBox("Hello World")
Incorect !
D
msgBox("Hello World")
Incorect !
Answer:
A
Report
Discuss
Q:28)
Who develop the Java Script language?
A
Charles Babbage
Incorect !
B
Denis Ritchie
Incorect !
C
John Napier
Incorect !
D
Bredon Eich
Correct !
Answer:
D
Report
Discuss
Q:29)
What is the correct JavaScript syntax to write "Hello World"?
A
response.write("Hello World")
Incorect !
B
document.write("Hello World")
Correct !
C
("Hello World")
Incorect !
D
"Hello World"
Incorect !
Answer:
B
Report
Discuss
‹ previous
2 of 2
Visual Basic Question Monthly COPA Test 2017 Overview
Exam Group:
COPA
Year:
2017
Share this Exam
Google+
Twitter
Facebook
LinkedIn
COPA exams
COPA 1st SEMESTER Employability Skills [field_questions_count]
COPA 1st SEMESTER 2016 [field_questions_count]
COPA 1st SEMESTER 2017 [field_questions_count]
COPA 1st SEMESTER Employability Skills 2016 [field_questions_count]
COPA monthley test September 2016 [field_questions_count]
COPA articles