JavaScript Midterm Quiz: Multiple Choice Questions – CS208, Week 4

Shared by SteadyAtlas9417 November 3, 2026 PDF
Computer Science Programming CS208Week 4 3 pages $3
Page 1 shows the title 'JavaScript Midterm Quiz' and the first multiple choice question.
Page 1 · free preview
Page 2
Page 3

Unlock all 3 pages

Get it free by sharing your own notes, buy just this one, or become a member and unlock documents with your plan.

How to unlock this document

Choose the way that suits you. Each one gives you all 3 pages to read online and the PDF to download.

Free

Share your notes, unlock for free

2 free unlocks for every 5 approved uploads

  • Upload your own lecture notes, assignments, essays or past papers
  • PDF, Word, PowerPoint and Excel files all work, and you can send many at once
  • We check each upload; you get a notification when it is approved
  • Spend a free unlock on this document or any other, and keep it for good
  • Shared under your public username, never your email
Create a free account

Then upload your notes from your profile.

Just this one

Buy this document

$3 one-time payment

  • All 3 pages of this document, yours to keep
  • Download the PDF and read it any time, also offline
  • No subscription and nothing to cancel
  • Find it again any time under My Profile → Library

You log in or create a free account first, then pay securely.

Best value

Become a member

Unlock documents from the whole library, which keeps growing

  • Choose any documents you like, up to your plan’s unlocks
  • Documents you unlock stay yours, even if you cancel later
  • Your unlocks start again with every renewal
  • Secure checkout by Dodo Payments
10 tokens every month
60 tokens every 6 months · Save 17%
130 tokens every year · Best value

You log in or create a free account first, then pay securely.

Compare the plans

About this document

Pages
3 pages
Price
$3 one-time, yours to keep
Membership
Included in every plan
Format
PDF
Subject
Computer Science, Programming
Module
CS208 · Week 4

This document is a midterm quiz for a Computer Science module on JavaScript. It covers basic concepts and syntax. It is for Week 4 of the CS208 module.

What's inside

  • Web page addresses
  • Variable declaration and initialization
  • JavaScript code execution
  • Output of code segments
  • Return statements in functions
  • Array representation in JavaScript

Who it is for: Students taking the CS208 module in Computer Science. (Undergraduate)

#cs208 #javascript #multiple choice #quiz #week 4

Share with classmates: WhatsApp Telegram X LinkedIn Facebook

Summary

JavaScript is a programming language used in web development. Students get practice with multiple choice questions on basic JavaScript concepts.

Web addresses and variables

Web pages are identified by a unique address. Variables are declared and initialised in JavaScript. Students test their understanding of these basics.

Code execution and output

Students work out what code does when it is run. They see what output will be produced by given code segments.

Functions and return statements

Functions in JavaScript can return values. Students see how to use return statements in functions. They see how to assign a returned value to a variable.

Key terms

Uniform Resource Locator
A unique address for a web page.
variable declaration
Creating a variable in a program.
variable initialisation
Setting a variable's value when it is created.
return statement
A statement that sends a value back from a function.
object name
A name that refers to an object in a program.
string value
A value that is text in a program.

Questions this document helps with

  • Which address type is used for web pages?
  • Is declaring a variable the same as initializing it?
  • How do you assign a returned value to a variable?

Summary written with AI from the document's text.

Ask the AI Teacher

Ask any question about this document or your course, and get a clear explanation.

Free accounts can ask 5 questions a day.