WEB TECHNOLOGIES (RCS-052)
B.Tech | Semester V | Section-wise Important Questions & Notes
SECTION A – Very Short Answer (2 × 7 = 14 Marks)
This section checks basic definitions and core concepts. Answers should be short and to the point.
Important Questions
What is bytecode? Define constructor.
What is an instance variable? When is it appropriate to use frames?
What is HTML? Define Applet.
What is JavaScript?
Key Notes
Bytecode: Intermediate code generated by Java compiler, executed by JVM.
Constructor: Special method used to initialize objects.
Instance variable: Variable defined inside a class but outside methods.
Frames: Used to divide browser window into multiple sections (now mostly deprecated).
Keep answers 1–2 lines only in exams.
SECTION B – Short Answer / Conceptual (5–7 Marks)
This section requires explanation with examples.
Important Questions
Explain HTML tags and attributes. Explain JavaScript variables and data types.
Describe String functions in JavaScript. Explain Math object functions in JavaScript.
What are applets? Explain their life cycle.
Key Notes
Common JS String functions: length, toUpperCase(), substring(), indexOf().
Math functions: Math.sqrt(), Math.pow(), Math.round(), Math.random().
Applet life cycle: init(), start(), stop(), destroy().
Always write syntax + example.
SECTION C – Programming-Based Questions (7 × 1 = 7 Marks)
This section is very important for practical marks.
Most Important Question
Create an HTML page named “String_Math.html” and demonstrate:
String variables and predefined String functions
Math object functions
Key Notes
Use <script> tag inside HTML.
Declare variables using var.
Display output using document.write() or alert().
Programs should be clean and properly indented.