0% found this document useful (0 votes)
10 views5 pages

AWP Question Bank

The document is a question bank for the Advanced Web Programming course at Ahmedabad Institute of Technology, prepared by Prof. Sweety Patel for the academic year 2020-2021. It includes a variety of programming tasks and concepts related to JavaScript, CSS, AngularJS, Node.js, and MongoDB, structured by chapters and topics. Each chapter contains specific exercises aimed at enhancing students' understanding of web programming and development techniques.

Uploaded by

Tushar Parmar
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)
10 views5 pages

AWP Question Bank

The document is a question bank for the Advanced Web Programming course at Ahmedabad Institute of Technology, prepared by Prof. Sweety Patel for the academic year 2020-2021. It includes a variety of programming tasks and concepts related to JavaScript, CSS, AngularJS, Node.js, and MongoDB, structured by chapters and topics. Each chapter contains specific exercises aimed at enhancing students' understanding of web programming and development techniques.

Uploaded by

Tushar Parmar
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

Ahmedabad Institute of Technology

CE & IT Department

ADVANCED WEB PROGRAMMING​ (3161611)


Question Bank
Year: 2020-2021

Prepared By: -Prof. Sweety Patel

Prepared by: Prof. Sweety Patel ​AWP(3161611) Page ​1


Sr.No CHAPTER NO - 1 : Introduction:
TOPIC:1

Java Script and CSS


1. Create a function that takes two numbers as arguments and ​return their sum.Usign
java Script
2 Convert Minutes into Seconds Using javaScript
3 Write a function that takes the base and height of a triangle and ​return​ its area.
4 Create a function that takes the age and return the age in days.
5 Create a function that takes an array containing only numbers and return the first
element.
6 Write a function that converts ​hours​ into seconds.
7 Create a function that takes ​length​ and ​width​ and finds the perimeter of a rectangle.
8 Create a function that returns ​true​ if an integer is evenly divisible by 5, and ​false
9 Create a function that returns ​true​ if a string is empty and ​false​ otherwise.
10 Create a function that takes two strings as arguments and return either ​true or ​false
depending on whether the total number of characters in the first string is equal to the
total number of characters in the second string
11 Create a function which takes an array of number ​arr​ and returns ​inverted array​.
12 Create a function that takes a number ​n​ and returns the ​n​th even number.
13 Create a function that takes a string ​txt and a number ​n and returns the repeated
string ​n number of times​.

If given argument ​txt​ is not a string, return ​Not A String !!

14 Create a function that returns the given argument, but by using an ​arrow function​.
15 Create a function that returns ​true when ​num1 is equal to ​num2​; otherwise return
false​.
16 Create a function that takes a boolean variable ​flag​ and returns it as a string.
17 JavaScript has a logical operator ​&&​. The ​&& operator takes two boolean values, and
returns ​true​ if both values are ​true​.
18 Write a function that determines if the year is a leap year or not.
19 Write a function to reverse an array.
20 Write a function that converts an object into an array, where each element represents a
key-value pair in the form of an array.
21 Create a function that takes an object and returns the keys and values as separate
arrays. Return the keys sorted alphabetically, and their corresponding values in the
same order.
22 Write a function that converts an object into an array of keys and values.
23 Create a function that takes an array of strings and returns an array with only the
strings that have numbers in them. If there are no strings containing numbers, return
an empty array.
24 The ​.length property on an array will return the number of elements in the array. For
example, the array below contains 2 elements:
25 Create a function that takes two dates and returns the number of days between the first
and second date.

Prepared by: Prof. Sweety Patel ​AWP(3161611) Page ​2


26 Given a string, reverse all the words which have odd length. The even length words are
not changed.
27 Create a simple HTML page with title heading paragraph emphasise strong and image
elements
Create a complex HTML table
28 Create a simple HTML Form covering major form elements
29 Embed Video in an HTML page

Create a Navigation bar (with dropdown) with CSS

Create a CSS Grid

Create a CSS based sticky footer

Create a CSS3 based Zebra striped table

Create a CSS3 based button

Use CSS3 to make an image rounded shape

Create a stitched look

Create CSS3 Corner Ribbon

Create CSS3 blurry text effect

Create CSS3 speech bubble shape

Create image cross fade with CSS3 transition

Use Google Font

Use Font Awesome Vector Icons with Bootstrap3

Calculating Values With CSS3 calc()

Style first letter and first line

Style first and the last element

Style the element which is not empty

Select elements by attribute

Target attribute begins wth a certain value

Set count and insert it before elements

Let padding and border not affect available width and height

Set style for link hover active and visited states of hyperlink

Type selector

Descendant selector
Prepared by: Prof. Sweety Patel ​AWP(3161611) Page ​3
Child selectors

Adjacent sibling selectors

Style placeholder text

30 Write a CSS style specification rule that would make all unordered lists (
tags) have square bullets and a purple background.
31 Write three style rules.
32 Write a rule that would make this and all other paragraphs appear in 12-point font
33 Write a rule that would make this and other paragraphs in the same class as this
example appear in italic type.
34 Write a rule that would make this particular paragraph only appear in bold type
35 Give a complete HTML document that would create a set of frames as follows: the right
half of the browser window is a single frame named fright showing the file right.html.
The left half of the browser window is divided into an upper portion 135 pixels tall, and
two lower portions taking up one third and two thirds of the remainder of the window,
respectively. These three frames should display the files logo.jpg, toc.html, and
help.html, respectively, and should be named flogo, ftoc, and fhelp.
36 Consider an HTML document with a table in it called table1, and a particular cell in the
table called cell23.
37 Describe Java script inbuilt objects
TOPIC 2.
1 Create simple website Using Responsive design
TOPIC 3.
1 Bootstrap Examples
2 Explain Bootstrap Grids with example

3 Explain Bootstrap Table with example

4 Explain Bootstrap Progress Bar with example

5 Explain Bootstrap Form with example

6 Explain Bootstrap Them with example

TOPIC 4.
1 Explain Error handling and event handling
2 Explain DOM With Example
3 Explain Asynchronous Programming with example
CHAPTER NO - 2 : Introduction to Angular JS :
TOPIC 1.
1 Explain features of Angular JS
2 Explain Advantages of angularjs
3 Application Structure Of AngularJS
4 Explain routes and navigation in angularJS
5 Explain MVC in Angular JS
6 Explain Services in Angular JS with Example
CHAPTER NO - 3: Angular JS in Details :
Prepared by: Prof. Sweety Patel ​AWP(3161611) Page ​4
TOPIC 1.
1 Explain Modules in Angular JS with Example
2 Explain Directives in Angular JS with Example
3 Explain Routes in Angular JS with Example
4 Explain Angular JS Forms with Example
5 Explain Angular JS Forms with Example
6 Apply Validations in AngularJS Forms
7 Explain Data binding in Angular JS with Example
8 Creating single page website using Angular JS
CHAPTER NO - 4 : Introduction to Node JS :
TOPIC 1.
1 What is Node JS
2 Package Manage in nodejs ,
3 Explain features of nodejs
4 Explain Console Object in nodejs with a suitable example?
5 Explain Concept of Callbacks with a suitable example?
6 Explain Advantages of Node JS
CHAPTER NO - 5 : Node JS in details :
TOPIC 1.
7 Explain Events and Event Loop, timers with a suitable example?
8 Explain Error Handling with a suitable example?
9 Explain Buffers, Streams in node js with a suitable example?
10 Explain Work with File System in node js with a suitable example?
11 Explain Networking with Node (TCP, UDP and HTTP clients
and servers)with a suitable example?
12 Explain Web Module, Debugging with a suitable example?
13 Explain Node JS REST API with a suitable example?
14 Explain Sessions andCookies with a suitable example?
15 Explain Design patterns, caching, scalability with a suitable example?
CHAPTER NO - 6 :Database Programming with Node JS and
MongoDB :
TOPIC 1.
1 Explain Node JS and MongoDB with suitable examples?
2 Explain Basics of MongoDB, Data types
3 Connect Node JS with MongoDB
4 Operations on data (Insert, Find, Query, Sort, Delete, Update) using Node
JS

Prepared by: Prof. Sweety Patel ​AWP(3161611) Page ​5

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy