Web Development for Beginners Microsoft Quiz Answers

Get Web Development for Beginners Microsoft Quiz Answers

Learn the basics of web development, including programming languages and tools, and web accessibility.

Prerequisites:

none

Enroll on Microsoft

Module 1: Introduction to programming

Learn about programming languages and the tools that developers use to create software.

Learning objectives:

In this module, you will:

  • Explore the concept of programming.
  • Understand what high-level and low-level programming languages are.
  • Learn about the basic elements of a program.
  • Learn about the software and tools used by professional developers.

Prerequisites:

None

Quiz 1: What is programming?

Q1. A program can be created by using:

  • A text editor
  • Pencil and paper
  • A typewriter

Q2. Low-level languages are a popular choice for:

  • Websites
  • Hardware
  • Video game software

Q3. Which one of these tools would most likely be in a web developer’s environment?

  • Hardware, such as Raspberry Pi
  • Browser development tools
  • Operating system documentation

Quiz 2: Knowledge check

Q1. What language would you most likely use to create a website?

  • Machine code
  • JavaScript
  • Bash

Q2. The tools that developers use to organize their work are called:

  • The development environment
  • The development toolkit
  • The development arsenal

Q3. What do developers do to fix buggy code?

  • Apply syntax highlighting
  • Debug the code
  • Apply code formatting

Module 2: Learn the basics of web accessibility

There are various tools and reports at your disposal that can highlight issues that need to be addressed. There are also standards like ARIA tags that will make your app usable by all.

Learning objectives:

In this module, you’ll learn:

  • Tools that users use to browse through webpages.
  • Tools that developers use to ensure accessibility.
  • Skills for ensuring that your pages are accessible.

Prerequisites:

  • A browser
  • Basic knowledge of HTML and CSS

Quiz 1: Knowledge check

Q1. Which of the following is an accessible link?

  • <a href="https://www.microsoft.com">https://www.microsoft.com</a>
  • <a href="https://www.microsoft.com">Microsoft</a>
  • <a href="https://www.microsoft.com/>Click here</a>

Q2. Which of the following is an appropriate use of ARIA (Accessible Rich Internet Applications) attributes?

  • To indicate to a screen reader that a div element is actually a button element.
  • To provide different text for a screen reader to speak when link text reads “click here.”
  • To give context to a screen reader when a control doesn’t exist in semantic HTML, such as a tree.

Q3. To add a control that the user selects to perform an action, which HTML element should you use?

  • div
  • span
  • p
  • button

Module 3: JavaScript variables and data types

Learn about variables and the data types that populate them.

Learning objectives:

In this module, you’ll learn:

  • What variables are and why to use them.
  • When to use constants.
  • How storing your values as different types can create clarity in your code.

Prerequisites:

None

Quiz 1: Use variables to remember values

Q1. In JavaScript, we can declare values with the keyword _______ or _______

  • let or var
  • get or script
  • char or log

Q2. Constants are the same as let and var to declare variables, except that…

  • Constants can be altered.
  • Constants must be initialized.
  • Constants can be reassigned.

Quiz 2: Data types

Q1. Which of the following is not a data type?

  • Numbers
  • Files
  • Booleans

Q2. Numbers and ____ are JavaScript primitives that handle numeric data.

  • bigint
  • boolean
  • star

Q3. Strings can reside between both single and double ______.

  • brackets
  • quotes
  • backslashes

Module 4: Create modular code by using functions in JavaScript

Functions are the building blocks for any application you’ll create. With functions, you can create named, reusable sections of code to help make it more readable and maintainable. This module explores the core concepts of functions.

Learning objectives:

In this module, you’ll learn:

  • How to write a basic function.
  • What parameters are and how to use them.
  • How to return values from a function.
  • How to use anonymous functions.

Prerequisites:

  • A web browser
  • Visual Studio Code and Live Server extension, installed

Quiz 1: Knowledge check

Q1. What is a parameter?

  • A value returned by a function
  • The name of the function
  • A value that a function accepts from the caller

Q2. Which one of the following names follows the naming guidelines for JavaScript functions?

  • helloworld
  • helloWorld
  • hello_world
  • HelloWorld

Q3. What function calls a function after a specified amount of time has elapsed?

  • setTimeout
  • document.write
  • console.log

Module 5: Make decisions with JavaScript

This lesson covers the basics of JavaScript if/else decision-making concepts. You’ll learn how comparing variables, using Booleans, and using if/else statements allow you to make decisions in your code.

Learning objectives:

In this module, you’ll:

  • Review Booleans.
  • Learn about comparison operators.
  • Explore how if and else are used in JavaScript.
  • Discover how to form conditions and make decisions with logical operators.

Prerequisites:

None

Quiz 1: Make decisions with JavaScript

Q1. The operator === is called.

  • Equality
  • Strict equality
  • Assignment

Q2. A comparison in JavaScript returns what type?

  • Boolean
  • Null
  • String

Q3. The ! symbol in JavaScript means:

  • Logical Not
  • Important
  • Equals

Quiz 2: Knowledge check

Q1. What would the following code return: '1' == 1?

  • true
  • false
  • null

Q2. What would the following code return: '1' === 1?

  • true
  • false
  • null

Q3. Choose the correct operator to express ‘or’ logic.

  • a | b
  • a || b
  • a or b

Module 6: JavaScript arrays and loops

Learn how to manipulate and store data within JavaScript.

Learning objectives:

In this module, you’ll learn about:

  • Arrays and what they’re used for.
  • How to use loops to work with arrays.
  • How to apply array operations.

Prerequisites:

None

Quiz 1: Manipulate arrays

Q1. To refer to a specific item in an array, you would use

  • Brackets []
  • An index
  • Braces {}

Q2. How do you get the number of items in an array?

  • The ‘len(array)’ method
  • The property size on the array
  • The length property on the array

Q3. In JavaScript, indexes start at

  • 0
  • 1
  • 2

Quiz 2: Knowledge check

Q1. What part of a for loop would you need to modify to increment its iteration by 5?

  • The condition
  • The counter
  • The increment expression

Q2. What’s the difference between a for loop and a while loop?

  • for loop has a counter, a condition, and an increment expression, and a while loop has only a condition.
  • while loop has a counter and an increment expression, and a for loop has only a condition.
  • They are the same, just aliases for each other.

Q3. Given the code for (let i=1; i < 5; i++), how many iterations will it perform?

  • 5
  • 4
  • 0
Conclusion:

I hope this Web Development for Beginners Microsoft Quiz Answers would be useful for you to learn something new from this problem. If it helped you then don’t forget to bookmark our site for more Coding Solutions.

This Problem is intended for audiences of all experiences who are interested in learning about Data Science in a business context; there are no prerequisites.

Keep Learning!

More Coding Solutions >>

LeetCode Solutions

Hacker Rank Solutions

CodeChef Solutions

Leave a Reply

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