
MERN Stack (Backend + Frontend Connection)
Authored by Christ Sabbak
Information Technology (IT)
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the mongod command do?
A. Starts the MongoDB client shell to interact with databases
B. Installs MongoDB on the system
C. Starts the MongoDB server
D. Creates a new MongoDB database with default settings
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does mongosh do?
A. Starts the MongoDB server (the program that stores your data)
B. Opens the MongoDB shell (a place where you can type commands to control the database)
C. Installs MongoDB on your computer
D. Deletes a database automatically
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does node server.js do?
A. Starts the Node.js program and runs the code inside server.js
B. Installs the Node.js server on your computer
C. Opens a shell to write Node.js commands manually
D. Deletes the server.js file and its folder
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does nodemon server.js do?
A. Runs server.js one time using Node.js
B. Automatically restarts server.js whenever you make changes to the file
C. Deletes and recreates server.js repeatedly
D. Opens a shell to manually run server.js commands
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
import React, { useState } from 'react';
import './App.css';
A. It loads React and a CSS file to style the app, and lets you use the useState feature to manage data inside the app.
B. It runs the app and applies all styles automatically.
C. It connects the app to a database and imports the needed CSS from React itself.
D. It exports the React app to the browser and saves the CSS file inside it.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
function App() {
const [formData, setFormData] = useState({ email: '', password: '' });
A. It creates a state variable called formData with default empty values for email and password, and allows updating them using setFormData.
B. It sends the email and password to the server automatically.
C. It permanently stores email and password in the browser's storage.
D. It deletes the email and password every time the page reloads.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
const handleChange = (e) => {
setFormData(prev => ({
...prev,
[e.target.name]: e.target.value
}));
};
A. It updates the specific field in formData when a form input changes, keeping the other fields unchanged.
B. It resets all form fields to empty whenever any input is changed.
C. It sends the entire form data to the server immediately after any input change.
D. It deletes the form data whenever the input value is cleared.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Frontend - CTO Cup
Quiz
•
Professional Development
15 questions
Data Analysis and Visualization
Quiz
•
Professional Development
18 questions
Quizz Cérémonie finale
Quiz
•
Professional Development
15 questions
Análise do Código React Native
Quiz
•
Professional Development
18 questions
Q1: DATABASE SYSTEM
Quiz
•
Professional Development
16 questions
Redundancy Strategies
Quiz
•
Professional Development
17 questions
Data Science Quiz 1
Quiz
•
Professional Development
15 questions
DIGITAL INITIATIVES IN EDUCATION
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
12 questions
Mardi Gras Trivia
Quiz
•
Professional Development
7 questions
Copy of G5_U5_L14_22-23
Lesson
•
KG - Professional Dev...
12 questions
Unit 5: Puerto Rico W1
Quiz
•
Professional Development
42 questions
LOTE_SPN2 5WEEK2 Day 4 We They Actividad 3
Quiz
•
Professional Development
15 questions
Balance Equations Hangers
Quiz
•
Professional Development
31 questions
Servsafe Food Manager Practice Test 2021- Part 1
Quiz
•
9th Grade - Professio...