Quizzes at Fun Trivia Fun Trivia | quizzes Quizzes | games Games | community People | services Services | help Help | me Me
New Player - Log In
Currently 10834 players online.   Trivia games, quizzes, and contests - FREE !     Get Started! quiz register

Webscripts

Created by woordenboer

Fun Trivia : Quizzes : The Internet
Webscripts game quiz
"All kinds of interactive web sites can be made with script languages. Do you know a bit about them, and can you tell them apart?"

15 Points Per Correct Answer - No time limit  



1. Which of these is a client-side script, executed in the user's browser?
    ColdFusion
    JavaScript
    Perl
    C


2. C++, a general programming language also used as a webscript, is based on C. Its name includes the increment operator, which adds 1 to an integer variable.
    True
    False


3. In 2000, the 'grandchild' of C was released, a language designed for Microsoft's .NET framework. Its name is...
    C$$ (see dollars)
    @C (at sea)
    CC (see see)
    C# (see sharp)


4. Some of the most popular webscripts are server-side scripts embedded in HTML pages. Which of the following is 'open source', i.e. free of charge for any use, including modifying the source code?
    ColdFusion
    ASP
    PHP
    Java Server Pages


5. What was the original name of PHP, as created by Rasmus Lerdorf?
    PHP: Hypertext Preprocessor
    Personal Home Page Tools
    Portable Hypertext Protocol
    Preloaded Heuristic Parser


6. Each of the following questions shows a line of code, one from each of these script languages: ASP, C++, JavaScript, Perl, and PHP. Which language is the following code written in:

document.bgColor = "FF0000";
    JavaScript
    Perl
    VBScript
    PHP


7. Which language is the following code written in:



open (IN, "Input.csv") || die "Cannot open input file: $!";
    Perl
    C++
    VBScript
    JavaScript


8. Which language is the following code written in:



shuffle($quotes);
    PHP
    JavaScript
    C++
    Perl


9. Which language is the following code written in:



Response.Write Item & " = " & Request.QueryString(Item)(iCount)
    VBScript
    PHP
    JavaScript
    C++


10. Which language is the following code written in:



int i, &x = i;
    VBScript
    C++
    PHP
    Perl


Copyright, FunTrivia.com. All Rights Reserved.
Legal / Conditions of Use