Web Developer Technical Test

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By EdwardNichols
E
EdwardNichols
Community Contributor
Quizzes Created: 1 | Total Attempts: 492
| Attempts: 492 | Questions: 16
Please wait...
Question 1 / 16
0 %
0/100
Score 0/100
1. Which of the following is the correct code for Red:

Explanation

The correct code for the color Red is #FF0000 or #F00. Both of these codes represent the RGB values for the color Red, with #FF0000 being the standard representation and #F00 being a shorthand version. The other options, #00F and #0F0, represent the colors Blue and Green respectively, not Red.

Submit
Please wait...
About This Quiz
Web Development Quizzes & Trivia

Please answer all the questions in the test below. You will have an hour to complete all the questions

2. The feature in ASP.NET 2.0 that is used to fire a normal postback to a different page in the application is called 

Explanation

Cross Page Posting is the feature in ASP.NET 2.0 that allows a normal postback to be fired to a different page in the application. This feature enables data to be shared between the source page and the target page, making it easier to pass information from one page to another without the need for complex query strings or session variables. By using Cross Page Posting, developers can easily navigate between pages while maintaining the state of the application.

Submit
3. Which of the following languages can be used to write server side scripting in ASP.NET? 

Explanation

C# is one of the languages that can be used to write server-side scripting in ASP.NET. ASP.NET is a web development framework that allows developers to build dynamic websites and web applications. C# is a popular programming language that is specifically designed for the .NET framework. It provides powerful features and libraries that make it suitable for server-side scripting in ASP.NET. Other languages like C and Visual Basic can also be used, but C# is commonly preferred due to its simplicity, readability, and extensive support from the .NET community.

Submit
4. What CSS property is used to change the colour of text:

Explanation

The CSS property "color" is used to change the color of text.

Submit
5. How many <html> tags can you have on a simple of web page? 

Explanation

In a simple web page, you can have only one opening and one closing tag. The tag is used to define the root of an HTML document. It contains all the other elements of the web page, such as the

and tags. Having multiple tags in a simple web page would result in invalid HTML structure.
Submit
6. C# / VB.NET Which of the following statements are false? 

Explanation

An integer's default value is 0, meaning that if no value is assigned to an integer variable, it will automatically be set to 0. However, an integer is not a reference type but a value type in C# and VB.NET. Reference types are objects that are stored on the heap and accessed through a reference, while value types are stored directly on the stack. Additionally, an integer cannot be "nothing" or null, as it always has a value. The maximum value of an integer is (2^31)-1, which is the largest positive value that can be represented by a 32-bit signed integer.

Submit
7. What namespace does the Web page belong in the .NET Framework class hierarchy? 

Explanation

The Web page belongs in the System.Web.UI namespace in the .NET Framework class hierarchy. This namespace contains classes for creating web-based user interfaces, including the Page class which represents a web page in the ASP.NET framework. The System.Windows.Page namespace is not part of the .NET Framework and the System.Web.page namespace does not exist.

Submit
8. Which of the following is true about session in ASP.NET? 

Explanation

ASP.NET automatically deletes sessions after a configurable timeout interval. This means that programmers do not have to manually delete sessions, as the framework handles it automatically. The default time interval for session timeout is 5 minutes.

Submit
9. ASP.NET separates the HTML output from program logic using a feature named as 

Explanation

ASP.NET separates the HTML output from program logic using a feature named as Code-behind. Code-behind is a programming model in ASP.NET where the code that handles the user interface and functionality is separated from the actual HTML markup. This allows for better organization and maintainability of the codebase, as developers can focus on the logic in the code-behind file while designers can work on the HTML markup separately.

Submit
10. 'asp:dropdownlist' tag replaces which of the HTML tags  

Explanation

The 'asp:dropdownlist' tag replaces the 'select' HTML tag. The 'select' tag is used to create a drop-down list in HTML, allowing the user to select one option from a list of choices. The 'asp:dropdownlist' tag is used in ASP.NET to create a drop-down list control, which provides similar functionality as the 'select' tag but with additional features and server-side capabilities.

Submit
11. Why is Global.asax is used?

Explanation

Global.asax is used to implement application and session level events in an ASP.NET application. It allows developers to handle events such as Application_Start, Application_End, Session_Start, and Session_End, which are triggered during the lifecycle of the application or session. These events can be used to perform tasks like initializing application-level variables, setting up database connections, or managing session-specific data. Therefore, the correct answer states that Global.asax is used to implement application and session level events.

Submit
12. Consider this expression: var result = productType == ProductTypes.Beer ? (client.Age > 18 ? false : true) : false Which of the following circumstances would return a result of true?

Explanation

The result would be true when the productType is Beer and the client's age is 17. This is because the expression checks if the productType is Beer, and if it is, it then checks if the client's age is greater than 18. Since the client's age is 17, which is less than 18, the result would be true.

Submit
13. SQL Questions Which of the following syntaxes can you use to test / use a function? 

Explanation

The correct answer is "SELECT dbo. fn_MyFunction(@Param1, @Param2)". This syntax is used to test or use a function in SQL. The "SELECT" keyword is used to retrieve the result of the function, and "dbo." is used to specify the schema of the function. The function name is followed by the parameters in parentheses.

Submit
14. JQuery/CSS Which of the following jQuery selects all the spans with a class of 'red' in a list element?

Explanation

The correct answer is $('li span.red'). This jQuery selector will select all the spans with a class of 'red' that are inside a list element.

Submit
15. The number of forms that can be added to a aspx page (Web Forms) is?

Explanation

In ASPX pages (Web Forms), only one form can be added. This is because the ASP.NET framework follows a "single-form" model, where each ASPX page can have only one form element. Having multiple forms on a single page can lead to conflicts and unpredictable behavior. Therefore, the correct answer is 1.

Submit
16. Within SQL, the __________ data type is used to hold true or false values

Explanation

The correct answer is BIT. Within SQL, the BIT data type is used to hold true or false values. It is commonly used for storing boolean values, where 1 represents true and 0 represents false.

Submit
View My Results

Quiz Review Timeline (Updated): Mar 19, 2023 +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 19, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Nov 14, 2013
    Quiz Created by
    EdwardNichols
Cancel
  • All
    All (16)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
Which of the following is the correct code for Red:
The feature in ASP.NET 2.0 that is used to fire a normal postback to a...
Which of the following languages can be used to write server side...
What CSS property is used to change the colour of text:
How many <html> tags can you have on a simple of web page? 
C# / VB.NET Which of the following statements are false? 
What namespace does the Web page belong in the .NET Framework class...
Which of the following is true about session in ASP.NET? 
ASP.NET separates the HTML output from program logic using a feature...
'asp:dropdownlist' tag replaces which of the HTML...
Why is Global.asax is used?
Consider this expression: ...
SQL Questions ...
JQuery/CSS ...
The number of forms that can be added to a aspx page (Web...
Within SQL, the __________ data type is used to hold true or false...
Alert!

Advertisement