0% found this document useful (0 votes)
72 views

Unit 3 - Week 2 Lectures: Building Your Webapp: Assignment 2

This document provides an overview of lectures for Week 2 of an online course on modern application development. The lectures cover building a web application, including modules on practical skills like using SSH and networking experiments, building a webapp with Node.js and Git, and introducing reverse proxies and server-side JavaScript. The document also includes sample multiple choice questions that assess understanding of topics like IP addresses, HTTP protocols, HTML structure, and port usage.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
72 views

Unit 3 - Week 2 Lectures: Building Your Webapp: Assignment 2

This document provides an overview of lectures for Week 2 of an online course on modern application development. The lectures cover building a web application, including modules on practical skills like using SSH and networking experiments, building a webapp with Node.js and Git, and introducing reverse proxies and server-side JavaScript. The document also includes sample multiple choice questions that assess understanding of topics like IP addresses, HTTP protocols, HTML structure, and port usage.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

12/29/2017 Introduction to Modern Application Development - - Unit 3 - Week 2 lectures: Building your webapp

Courses » Introduction to Modern Application Development

Announcements Course Forum Progress Mentor Discourse forum Discussion Forum

Unit 3 - Week 2 lectures: Building your webapp

Course
outline Assignment 2
.
How to access
the portal?

Week 1 Lectures: All questions are Multiple Choice Questions where more than one option may be correct.
Introduction to
the Internet Please feel free to do online research, use google, refer to the existing slides and module
videos. However, it is NOT ALLOWED to ask these questions and discuss them on the
discussion forums. Doing this will cause serious harm to the learning experience for everyone
Week 2 lectures: involved on the forum. In case this happens, the students engaging in the discussions maybe
Building your disqualified from the entire course.
webapp

Module P2: Assignment 2


Practical: SSH
+ Network 1) Which of the below IPs is/are valid? 1 point
experiments

Module P3:
23.54.23.21.32
Practical: 123.132.212.32
Building a
234.11.265.34
webapp with
nodejs and 3ffe:1900:4545:3:200:f8ff:fe21:67cf
using git.
Introduction to
reverse proxies.

Module P4: Accepted Answers:


Module P4: 123.132.212.32
Practical: 3ffe:1900:4545:3:200:f8ff:fe21:67cf
Introduciton to
server-side 2) What protocol/protocols does the ‘ping’ command use? 1 point
javascript and
HTML/CSS HTTP/HTTPS
Module P5: ICMP
Introduction to TCP
client-side
Javascript IP

Module P6:
Practical: APIs
and mobile
Accepted Answers:
apps use web-
servers ICMP

Quiz : 3) For a web page, HTML represents the: 1 point


Assignment 2
Structure of web page content
Feedback for
Week 2 Styling of web page content
Animations of web page content
Week 3 Lectures: Web page address
Databases

https://onlinecourses.nptel.ac.in/noc17_cs40/unit?unit=23&assessment=24 1/5
12/29/2017 Introduction to Modern Application Development - - Unit 3 - Week 2 lectures: Building your webapp

Week 4:
Introduction to
security for Accepted Answers:
webapps Structure of web page content
Week 5 - Android 4) What is the ‘ping’ command useful for? 1 point
Application
Development checking network latency to the server
resolving hostname to an IP
Week 6 -
Advanced
checking the network route to the server
Databases and checking network connectivity of your host
Introduction to
iOS

Week 7: Modern Accepted Answers:


Development
checking network latency to the server
Practices
resolving hostname to an IP
Week 8 - checking network connectivity of your host
Concluding
5) SSH is used for: 1 point
Lectures
writing a web server
accessing a remote computer
making http requests to a web server
checking network path to a remote computer

Accepted Answers:
accessing a remote computer
6) If ‘http-server’ is run, and outputs the ‘EADDR IN USE 8080’ error. It can mean: 1 point

There is an error in the web server code


The server is trying to run on an invalid port
The server is trying to run on a port blocked by another server
The server is trying to running on an URL address already in use

Accepted Answers:
The server is trying to run on a port blocked by another server
7) How many ports does a computer have? 1 point

16
80
8080
65536

Accepted Answers:
65536

8) What is the IP of www.squ.edu.om 1 point

62.231.24.11
62.231.24.121
62.231.244.11
62.231.244.121

https://onlinecourses.nptel.ac.in/noc17_cs40/unit?unit=23&assessment=24 2/5
12/29/2017 Introduction to Modern Application Development - - Unit 3 - Week 2 lectures: Building your webapp
Accepted Answers:
62.231.244.11
9) How can one SSH to a server on the cloud 1 point

using private IP of server


using loopback IP of server
using public IP of server
using hostname of server

Accepted Answers:
using public IP of server
using hostname of server
10)What does server side templating refer to 1 point

Sending the data from the server to a client so that the client can use the data to create the
UI
Sending the UI files from the server to the client so that the client can render the UI
Rendering the UI on the server so that the client can display the UI
Creating the UI markup dynamically on the server so that the client can render the UI

Accepted Answers:
Creating the UI markup dynamically on the server so that the client can render the UI
11)Where is the website www.unimelb.edu.au (University of Melbourne) hosted? 1 point

USA
Hong Kong
Australia
Singapore

Accepted Answers:

12)What is the main reason the internet is moving towards ipv6? 1 point

Ipv4 is slower
Ipv4 is expensive
Ipv4 addresses will run out
Ipv4 is not as secure

Accepted Answers:
Ipv4 addresses will run out
13)Which of the following is/are valid HTML syntax 1 point

<html> <body></body><div>Hello world!</div></html>


<html> <body><div>Hello world!</div></body></html>
<html> <body><div>Hello world!</body></html>
<html> <body><div>Hello world!</body></div></html>

Accepted Answers:
<html> <body><div>Hello world!</div></body></html>
14)Which of the following statements are correct: 1 point

https://onlinecourses.nptel.ac.in/noc17_cs40/unit?unit=23&assessment=24 3/5
12/29/2017 Introduction to Modern Application Development - - Unit 3 - Week 2 lectures: Building your webapp

HTTPS ensures delivery of all data packets while HTTP does not
HTTPS encrypts the data in packets for security while HTTP does not
HTTPS requires a security certificate while HTTP does not
By default, HTTPS runs on port 443 while HTTP runs on port 8080

Accepted Answers:
HTTPS encrypts the data in packets for security while HTTP does not
HTTPS requires a security certificate while HTTP does not
15)Which of the following statements are correct: 1 point

localhost and 127.0.0.1 both link to the loopback network interface


127.0.0.1 requires connection to a network while localhost does not
localhost needs a DNS lookup while 127.0.0.1 does not
There is no difference between localhost and 127.0.0.1

Accepted Answers:
localhost and 127.0.0.1 both link to the loopback network interface
localhost needs a DNS lookup while 127.0.0.1 does not
16)Which of the following are valid examples of css selectors 1 point

div
.element
_div
#element

Accepted Answers:
div
.element
#element
17)Which HTML tag is used to create a hyperlink 1 point

<hr>
<href>
<link>
<a>

Accepted Answers:
<a>

18)Which of the following is/are valid HTTP request methods 1 point

GET
SEND
DELETE
POST

Accepted Answers:
GET
DELETE
POST

https://onlinecourses.nptel.ac.in/noc17_cs40/unit?unit=23&assessment=24 4/5
12/29/2017 Introduction to Modern Application Development - - Unit 3 - Week 2 lectures: Building your webapp
19)Which of the following statements is/are correct 1 point

JS can modify HTML


HTML can modify JS
CSS can modify HTML
HTML can modify CSS

Accepted Answers:
JS can modify HTML
20)Opening www.abc.com on a browser fetches 1 point

The index.html file on the server


The resource mapped to path ‘/’ on the server
The resource mapped to path ‘/abc on the server
We cannot be sure

Accepted Answers:
The resource mapped to path ‘/’ on the server

https://onlinecourses.nptel.ac.in/noc17_cs40/unit?unit=23&assessment=24 5/5

You might also like