EL Quiz 2S2C Home « EL Quiz 2
The questions in this quiz on Expression Language are on the topics covered in the second lesson of the EL section of the site. The table below lists the lesson used for each quiz, a description of the lesson content and the quiz number and questions associated with that lesson.
Click on a lesson in the table to go to that lesson for a refresher on the topics for that quiz.
Click on a quiz in the table to go straight to the quiz for a particular lesson.
EL Lessons | Description | Question Range |
---|---|---|
Lesson 1 - Introduction to EL | In our first lesson on the Expression Language we introduce EL and write our first JSP using EL. | Quiz1 5 questions |
Lesson 2 - EL Operators | This lesson is about the symbols used in EL for mathematical and logical manipulation which are known as EL operators. | This quiz. 6 questions |
Lesson 3 - EL Property Access | In this lesson we learn how to use EL to access object properties and attribute values from any scope. | Quiz3 5 questions |
Lesson 4 - EL Implicit Objects | In this lesson we learn about EL implicit objects and their usage. | Quiz4 5 questions |
Lesson 5 - Configuring EL | In this lesson we finish our study of the Expression Language by looking at how we can configure our pages for script-free EL or non-EL use. | Quiz5 5 questions |
Expression Language Quiz
The quiz below tests your knowledge of the material learnt in the EL Operators lesson of the EL section of the site.
Question 1 : What will be the output from the following expression?
<%
request.setAttribute("a", 15);
request.setAttribute("b", 6);
%>
${a%b}
- When using modulo <code>%</code> or <code>mod</code> - the remainder is output which in this case is <code>3</code>.
Quiz Progress Bar
What's Next?
The next quiz is on EL Property Access.