Press ESC to close

CS202 Subjective MidTerm

The document titled “CS202 Subjective MidTerm by Vu Topper RM” covers essential topics in Front-End Development, primarily focusing on HTML, CSS, and JavaScript. It provides a list of questions and topics that are crucial for midterm exam preparation. Here is a detailed description of some of the most important topics and concepts included in the notes:

  1. HTML Code for Table: Students are expected to know the basic syntax for creating tables in HTML, which includes the use of <table>, <tr>, <th>, and <td> tags.

  2. JavaScript: Explanation of JavaScript as a dynamic programming language commonly used in web development to create interactive effects within web browsers.

  3. Types of Lists in HTML: The notes cover the two main types of lists in HTML: ordered lists (<ol>) and unordered lists (<ul>), as well as how to style them.

  4. Headings in HTML: Discusses the importance of headings (<h1> to <h6>) in HTML for structuring the content of web pages and enhancing SEO.

  5. JavaScript Functions: One example provided is a function that performs a sum operation, demonstrating how JavaScript can be used to perform calculations and handle data dynamically.

  6. CSS Selectors: A crucial topic where students learn how to select and style HTML elements using CSS selectors, such as class selectors (.class), ID selectors (#id), and tag selectors (element).

  7. Differences Between Arrays and Objects: Describes the key distinctions between arrays and objects in JavaScript, particularly in terms of data structure and how they store and manipulate data.

  8. Get and Post Methods: A discussion on the HTTP methods used for sending data to a server. GET is primarily used for fetching data, while POST is used for submitting data.

  9. Dynamic URLs: Explains the six characteristics of dynamic URLs, which are commonly used in web development to create interactive, user-specific pages.

  10. JavaScript Window Methods: Topics include JavaScript functions like window.open(), window.close(), window.moveTo(), and window.resizeTo(), which are used to manipulate browser windows.

  11. CSS Properties: The notes contain explanations on various CSS properties such as font-size, padding, and text-align, with examples showing how to use them to style web elements.

  12. Changing Text and Background Colors: Simple tasks like changing the text color of headings and background color of the document are included as part of the hands-on learning.

  13. Ordered and Unordered Lists in CSS: Provides insights on how to style ordered and unordered lists in CSS using the list-style-type property.

  14. Position Properties in CSS: Describes the four types of position properties (static, relative, absolute, and fixed) that can be applied to elements to control their layout on the web page.

  15. Padding and Margin in CSS: Demonstrates how to use padding and margin properties to control the spacing around elements in a webpage.

  16. Creating a Table in HTML: A task-based question asks the students to write the HTML code to create a table with a heading and add rows for names and roll numbers.

  17. JavaScript and Input Fields: In one exercise, the document describes how to write JavaScript to handle input fields and explains the purpose of each field.

  18. CSS for Padding and Borders: The notes give examples of how to apply padding and borders in CSS, particularly how to style each side of an element individually.

  19. Global Functions in JavaScript: Explains global functions in JavaScript that convert variables into numbers, such as parseInt(), parseFloat(), and Number().

  20. Selectors in CSS: The notes mention specific CSS selectors used to style all <h1> elements and assign a class to all elements, illustrating the flexibility and power of CSS in controlling the look of a web page.

These topics are fundamental for students aiming to excel in front-end web development. They form the basis for creating well-structured, visually appealing, and interactive websites​

Leave a Reply

Your email address will not be published. Required fields are marked *