Fun Trivia | Quizzes | Games | People | Services | Help | Me
New Player - Log In
Currently 17016 players online.   Play, Compete, and Win for FREE!    Click here to Get Started!

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
    C
    Perl
    JavaScript


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 sharp)
    CC (see see)
    C$$ (see dollars)
    @C (at sea)


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?
    ASP
    ColdFusion
    Java Server Pages
    PHP


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


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)
    JavaScript
    C++
    PHP
    VBScript


10. Which language is the following code written in:



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

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