1) What is Node.js? a) A. A front-end framework b) A runtime environment for executing JavaScript code outside the browser c) A database management system d) A CSS preprocessor 2) Which module is used in Node.js to handle HTTP requests and responses? a) http b) url c) fs d) events 3) How do you install a Node.js module? a) node install <module_name> b) npm install <module_name> c) npm add <module_name> d) module install <module_name> 4) What command is used to initialize a new Node.js project? a) npm init b) node start c) npm start d) node init 5) What type of database is MongoDB? a) Relational b) NoSQL c) File-based d) Key-Value Store 6) Which package is commonly used to define models in Node.js for MongoDB? a) Sequelize b) Mongoose c) Express d) Lodash 7) What does the Schema in Mongoose define? a) The database connection string b) The structure and constraints of documents in a collection c) The default port for the database d) The middleware to use in an application 8) What method is used to define a GET route in Express.js? a) app.get() b) app.route() c) app.fetch() d) app.create() 9) What does res.send() do in Express.js? a) Ends the request and sends data back to the client b) Starts a new server c) Parses the request body d) Redirects the client to another route 10) What is the purpose of mongoose.connect()? a) To define a schema b) To start the Node.js server c) To establish a connection to the MongoDB database d) To create a new model
0%
Final assessment - Nodejs
공유
공유
공유
만든이
Kdyahya
콘텐츠 편집
인쇄
퍼가기
더보기
할당
순위표
더 보기
접기
이 순위표는 현재 비공개입니다.
공유
를 클릭하여 공개할 수 있습니다.
자료 소유자가 이 순위표를 비활성화했습니다.
옵션이 자료 소유자와 다르기 때문에 이 순위표가 비활성화됩니다.
옵션 되돌리기
퀴즈
(은)는 개방형 템플릿입니다. 순위표에 올라가는 점수를 산출하지 않습니다.
로그인이 필요합니다
비주얼 스타일
글꼴
구독 필요
옵션
템플릿 전환하기
모두 표시
액티비티를 플레이할 때 더 많은 포맷이 나타납니다.
결과 열기
링크 복사
QR 코드
삭제
자동 저장된
게임을 복구할까요?