CIW CIW Site Development Associate 2 — Questions and Answers
Question 1: What does URL stand for and what is its purpose?
- Universal Resource Locator — specifies the address of a resource on the internet (Correct answer)
- Unified Routing Language — defines network routing rules
- User Registration Login — authenticates site visitors
- Universal Request Layer — handles HTTP requests
Correct answer: Universal Resource Locator — specifies the address of a resource on the internet
A URL (Uniform Resource Locator) is the full address used to access a specific resource on the internet, including protocol, domain, and path.
Question 2: What is the purpose of version control systems like Git in web development?
- Automatically optimize CSS files
- Track changes to code over time, enabling collaboration and rollback to previous versions (Correct answer)
- Generate server-side APIs
- Monitor website traffic
Correct answer: Track changes to code over time, enabling collaboration and rollback to previous versions
Version control systems like Git record every change to code, allowing teams to collaborate, review history, and revert to earlier states.
Question 3: What is the difference between client-side and server-side scripting?
- Client-side runs in the user's browser; server-side runs on the web server before sending content to the browser (Correct answer)
- Client-side uses Python; server-side uses JavaScript
- Client-side handles databases; server-side handles design
- There is no difference — they are the same
Correct answer: Client-side runs in the user's browser; server-side runs on the web server before sending content to the browser
Client-side scripts (like JavaScript) execute in the visitor's browser, while server-side scripts (like PHP or Node.js) run on the server and send results to the browser.
Question 4: What is web hosting?
- The process of designing website graphics
- A service that stores website files on a server and makes them accessible via the internet (Correct answer)
- Sending newsletters to subscribers
- A type of web browser plugin
Correct answer: A service that stores website files on a server and makes them accessible via the internet
Web hosting provides server space, bandwidth, and infrastructure to store and serve website files to visitors worldwide.
Question 5: Which web technology allows web pages to update content dynamically without reloading the entire page?
- HTML tables
- CSS animations
- AJAX (Asynchronous JavaScript and XML) (Correct answer)
- FTP uploads
Correct answer: AJAX (Asynchronous JavaScript and XML)
AJAX allows web pages to fetch data from a server asynchronously and update parts of the page without a full reload.
Question 6: What is a sitemap.xml file used for in web development?
- Style the visual layout of a website
- List all pages of a website to help search engines discover and crawl content (Correct answer)
- Define user permissions
- Configure server-side redirects
Correct answer: List all pages of a website to help search engines discover and crawl content
A sitemap.xml file lists a site's URLs and metadata to guide search engine crawlers in discovering and indexing all pages.
What does URL stand for and what is its purpose?