Online Exam Quiz

questionQuestion  1 to 30

Is JavaScript case-sensitive?

  • No
  • Yes
  • Only in strings
  • Only in numbers
Mark for review

What is the correct syntax to open a file in PHP?

  • fopen("filename", "mode");
  • open("filename", "mode");
  • openfile("filename", "mode");
  • file_open("filename", "mode");
Mark for review

Which operator is used to assign a value to a variable?

  • *
  • -
  • =
  • x
Mark for review

Which SQL statement is used to update data in a database?

  • MODIFY
  • UPDATE
  • CHANGE
  • ALTER
Mark for review

What is the correct way to create a function in PHP?

  • function myFunction()
  • create function myFunction()
  • new_function myFunction()
  • myFunction()
Mark for review

How do you make a list that lists its items with squares?

  • list-style-type: square;
  • list-type: square;
  • list-square-type: square;
  • list: square;
Mark for review

What does JS stand for?

  • JavaStyle
  • JavaScript
  • JustScript
  • JScript
Mark for review

How do you create a function in JavaScript?

  • function = myFunction()
  • function myFunction()
  • function()
  • function => myFunction()
Mark for review

Which function is used to start a session in PHP?

  • session_start()
  • session()
  • start_session()
  • session_begin()
Mark for review

How do you insert a comment in a CSS file?

  • // this is a comment
  • /* this is a comment */
  • <!-- this is a comment -->
  • ** this is a comment **
Mark for review

Which of the following is a PHP loop structure?

  • for
  • foreach
  • while
  • All of the above
Mark for review

Which SQL function is used to calculate the average value of a numeric column?

  • AVG
  • SUM
  • MEAN
  • AVERAGE
Mark for review

What does PHP stand for?

  • Personal Home Page
  • Private Home Page
  • PHP: Hypertext Preprocessor
  • Private Hypertext Processor
Mark for review

How do you define a constant in PHP?

  • const
  • define
  • constant
  • define_constant
Mark for review

What does HTML stand for?

  • Hyper Text Markup Language
  • Home Tool Markup Language
  • Hyperlinks and Text Markup Language
  • Hyper Tool Markup Language
Mark for review

Which HTML attribute is used to define inline styles?

  • class
  • font
  • styles
  • style
Mark for review

How does a FOR loop start?

  • for (i = 0; i <= 5)
  • for (i = 0; i <= 5; i++)
  • for i = 1 to 5
  • for (i <= 5; i++)
Mark for review

How do you call a function named "myFunction"?

  • call myFunction()
  • call function myFunction()
  • myFunction()
  • Call.myFunction()
Mark for review

How to write an IF statement in JavaScript?

  • if i == 5 then
  • if (i == 5)
  • if i = 5 then
  • if i = 5
Mark for review

Which SQL statement is used to delete data from a database?

  • DELETE
  • REMOVE
  • ERASE
  • DROP
Mark for review

Which keyword is used to declare a class in PHP?

  • class
  • declare
  • new
  • function
Mark for review

Which SQL clause is used to filter records?

  • WHERE
  • FILTER
  • HAVING
  • LIMIT
Mark for review

Which property is used to change the text color of an element?

  • fgcolor
  • text-color
  • color
  • font-color
Mark for review

What is the correct SQL statement to return the number of records in a table?

  • COUNT
  • NUMBER
  • COUNT RECORDS
  • NUMBER RECORDS
Mark for review

How can you make a numbered list?

  • <ul>
  • <ol>
  • <dl>
  • <list>
Mark for review

How can you change "Hannah" into "Hana" in the "FirstName" column of the "Students" table?

  • UPDATE Students SET FirstName='Hana' WHERE FirstName='Hannah';
  • CHANGE Students SET FirstName='Hana' WHERE FirstName='Hannah';
  • MODIFY Students SET FirstName='Hana' WHERE FirstName='Hannah';
  • ALTER Students SET FirstName='Hana' WHERE FirstName='Hannah';
Mark for review

Which superglobal variable holds information about headers, paths, and script locations?

  • $_GET
  • $_SERVER
  • $_POST
  • $_FILES
Mark for review

Which keyword is used to sort the result-set in SQL?

  • ORDER BY
  • SORT
  • ORDER
  • SORT BY
Mark for review

Which operator is used in PHP for concatenation?

  • .
  • +
  • &
  • *
Mark for review

What will the following code return: Boolean(10 > 9) ?

  • TRUE
  • FALSE
  • NaN
  • undefined
Mark for review

blinkerOnline

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • Answered
  • Not Answered
  • Marked for Review