Sample Quiz Question
The Document Object Model (DOM) is a interface that treats an XML or HTML document as a tree structure wherein each node is an object representing a part of the document.
Sample Quiz Question
Which one of these statements is NOT true of the flexbox layout system?
Sample Quiz Question
Which of the following is NOT a good way to make sure you consistently use semantic HTML?
Sample Quiz Question
Which of the following is NOT true of the differences between an Array and a Set?
Sample Quiz Question
Ctrl + can be used to interrupt a long-running command.
Sample Quiz Question
Flask is classified as a microframework because
Sample Quiz Question
What does the following describe?: An EC2 instance that is part of an ECS cluster and is running Docker.
Sample Quiz Question
Python was created in the late 1980s by , and first released in 1991.
Sample Quiz Question
Which AWS service would be a good choice to store millions of images and videos?
Sample Quiz Question
Why is idempotency important?
Sample Quiz Question
Given the following code:
function somePromise() {
return new Promise(function (resolve, reject) {
reject(new Error("oh no!"));
})
}
Which of the following would log done!
?
Sample Quiz Question
Given the following object:
var description = {
color: 'blue',
}
Which of the following is not a valid way to access color
?
Sample Quiz Question
Given the following code:
interface Bird {
fly(): void;
layEggs(): void;
}
interface Fish {
swim(): void;
layEggs(): void;
}
declare function getSmallPet(): Fish | Bird;
let pet = getSmallPet();
Which of the following is valid code?
Sample Quiz Question
You have an array of objects that contain user data with unique user IDs. You want to transform it to an object, such that the keys are all user IDs and the values contain the rest of the object. Which function do you use?
Sample Quiz Question
Given the following array and function:
numbers = [0, 1, 2, 3, 4, 5]
Which of the following is NOT an example of using a callback to filter the odd numbers?
Sample Quiz Question
You need to store the data for a content management system, where the data structure can differ from content to content. Which of the following would be good choice for a database?
Sample Quiz Question
Which Hook should you use to get data from an API in response to changing a form value?
Sample Quiz Question
Which of the following is actually valid JSON?
Sample Quiz Question
Use this to create a new resource.
Sample Quiz Question
What are Objects intended to represent?
Sample Quiz Question
What does function hoisting work with?
Sample Quiz Question
What form of rendering is best for a live dashboard with data updates every 5 seconds?
Sample Quiz Question
During negotiations, the recruiter tells you you'd be "crazy" not to accept the offer as is. You are insulted and start to become angry. What's a good next step?
Sample Quiz Question
What will you see if we run the following code?
var promiseA = new Promise(
function onResult(resolve, reject) {
resolve('done')
}
);
var promiseB = new Promise(
function onResult(resolve, reject) {
reject(new Error('not done'));
}
);
Promise.all([promiseA, promiseB])
.then(function onValues(values) {
console.log(values);
});
Sample Quiz Question
What does the alt attribute specify for users who cannot see an image?
Sample Quiz Question
What is the name of the packing of data and functions into one component?
Sample Quiz Question
I want to take a list of numbers and every time an element is an even number, change it to an Array
of length 2, where every element is the original number.
For example, an input of [1, 2, 3]
would yield an output of [1, [2, 2], 3]
.
What method could we use to solve the problem?
Pick the best reasoning among the following choices.
Sample Quiz Question
What is true of the Symbol data type?
Sample Quiz Question
Given the following code, which of the choices is true?
var bird = { color: 'yellow' };
var egg = { contents: bird };
var egg2 = {};
Object.assign(egg2, egg);
Sample Quiz Question
The following code will not run because:
function asyncMethod() {
const result1 = await Promise.resolve('1');
const result2 = await Promise.resolve('2')
return [result1, result2];
}
Sample Quiz Question
What are the DISADVANTAGES of going to CODING SCHOOL to get a job in tech?
Sample Quiz Question
What happens if you DON'T make sure that there's a market for the job you're looking for?
Sample Quiz Question
What is the 1st step of the Skill Distiller formula? (The Skill Distiller Formula helps you figure out what you're good at.)
Sample Quiz Question
Who said that the only way to do great work is to love what you do?