Unit 3 - Week 2 Lectures: Building Your Webapp: Assignment 2
Unit 3 - Week 2 Lectures: Building Your Webapp: Assignment 2
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 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 P6:
Practical: APIs
and mobile
Accepted Answers:
apps use web-
servers ICMP
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
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
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
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
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
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
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>
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
Accepted Answers:
JS can modify HTML
20)Opening www.abc.com on a browser fetches 1 point
Accepted Answers:
The resource mapped to path ‘/’ on the server
https://onlinecourses.nptel.ac.in/noc17_cs40/unit?unit=23&assessment=24 5/5