Mernstack Assignment PDF
Mernstack Assignment PDF
assignment
Software Engineering Assignment
MODULE: 1
SE – Overview of IT Industry
1. What is software? What is software engineering?
2. Explain types of software
3. What is SDLC? Explain each phase of SDLC
4. What is DFD? Create a DFD diagram on Flipkart
5. What is Flow chart? Create a flowchart to make addition of two numbers
6. What is Use case Diagram? Create a use-case on bill payment on paytm.
MODULE: 2
SE – HTML and CSS
1. Define the terms: Website, Webpage, Web browser, Web server,
HTML,CSS
2. Create a webpage to show “This is my first HTML page”
3. Display top 10 IT companies list in html webpage
4. Create a dropdown list
5. Create a Table Of college Management system using row span & colspan.
6. Create below table using HTML table tags
7. Create Registration form using HTML, CSS
8. In how many ways can a CSS be integrated as a web page?
9. Create simple three pages using External CSS, Internal CSS, and Inline
CSS.
10.Create below page using HTML CSS
11. Create link-pseudo classes using external css, to format links on the pages.
12. Create a dynamic pseudo class using HTML, CSS
MODULE: 3
SE – Fundamentals of Programming
Topics Covered
Basic Syntax
Data Structures
Variables
Operators
Topics Covered
Control statements
Conditional Statements
24. 350 and above but less than 600 25. @1.50
26. 600 and above but less than 800 27. @1.80
33. WAP to input the week number and print week day.
34. Accept month number and display month name
35.Accept the input month number and print number of days in that
month.
36. Write a C program to input electricity unit charges and calculate total
electricity bill according to the given condition:
For first 50 units Rs. 0.50/unit
For next 100 units Rs. 0.75/unit
For next 100 units Rs. 1.20/unit
For unit above 250 Rs. 1.50/unit
An additional surcharge of 20% is added to the bill
Topics Covered
Looping Statements
Conditional Statements
Topics Covered
Function
Array
1. Write a program to find out the max number from given array using function
2. WAP of Addition, Subtraction, Multiplication and Division using Switch
case.(Must Be Menu Driven)
3. WAP to find reverse of string using recursion
4. WAP to find factorial using recursion
5. WAP to take two Array input from user and sort them in ascending or
descending order as per user’s choice
6. WAP to make addition, Subtraction and multiplication of two matrix using
2-D Array
7. WAP Find out length of string without using inbuilt function
8. WAP to reverse a string and check that the string is palindrome or not
Write a program of structure employee that provides the following
a. information -print and display empno, empname, address
andage
b. Write a program of structure for five employee that
provides the following information -print and display
empno, empname, address andage
9. WAP to show difference between Structure and Union.
10. WAP to perform Palindrome number using for loop and function
11.WAP to accept 5 numbers from user and display in reverse order using for
loop and array
12. WAP to accept 5 students name and store it in array
13.WAP to accept 5 numbers from user and check entered number is even or odd
using of array
14. Perform 2D matrix array
15.Store 5 numbers in array and sort it in ascending order
16.Accept 5 numbers from user and perform sum of array
17.WAP to show difference between Structure and Union.
Topics Covered
String
6. Write a program in C to count the total number of alphabets, digits and special
characters in a string.
12.Write a program in C to find the number of times a given word 'is' appears in
the given string.
15. Write a program in C to find the largest and smallest words in a string.
MODULE: 4
OOPS Concept
Topics Covered
Basic Concepts of OOP
Topics Covered
Basic Concepts of OOP
1. WAP to create simple calculator using class
2. Define a class to represent a bank account. Include the following members:
3. Data Member:
-Name of the depositor
-Account Number
-Type of Account
-Balance amount in the account
Member Functions
-To assign values
-To deposited an amount
-To withdraw an amount after checking balance
-To display name and balance
4. Write a C++ program to implement a class called Circle that has private
member variables for radius. Include member functions to calculate the
circle's area and circumference.
5. Write a C++ program to create a class called Rectangle that has private
member variables for length and width. Implement member functions to
calculate the rectangle's area and perimeter.
6. Write a C++ program to create a class called Person that has private
member variables for name, age and country. Implement member
functions to set and get the values of these variables.
Topics Covered
Constructor
Destructor
Encapsulation
Abstraction
1. Write a program to find the multiplication values and the cubic values using
inline function
2. Write a program of Addition, Subtraction, Division, Multiplication using
constructor.
3. Write a C++ program to create a class called Car that has private
member variables for company, model, and year. Implement member
functions to get and set these variables.
4. Write a C++ program to implement a class called Bank Account that has
private member variables for account number and balance. Include
member functions to deposit and withdraw money from the account.
5. Write a C++ program to create a class called Triangle that has private
member variables for the lengths of its three sides. Implement member
functions to determine if the triangle is equilateral, isosceles, or scalene.
6. Write a C++ program to implement a class called Employee that has
private member variables for name, employee ID, and salary. Include
member functions to calculate and set salary based on employee
performance. Using of constructor
7. Write a C++ program to implement a class called Date that has private
member variables for day, month, and year. Include member functions to
set and get these variables, as well as to validate if the date is valid.
8. Write a C++ program to implement a class called Student that has private
member variables for name, class, roll number, and marks. Include
member functions to calculate the grade based on the marks and display
the student's information. Accept address from each student implement
using of aggregation
Topics Covered
Inheritance
Polymorphism
• Topics Covered
Templates
MODULE: 5 (Database)
• Topics Covered
Basics of Database
Name: Employee
3. Get First_Name from employee table using Tom name “Employee Name”.
4. Get FIRST_NAME, Joining Date, and Salary from employee table.
5. Get all employee details from the employee table order by First_Name
Ascending and Salary descending?
6. Get employee details from employee table whose first name contains ‘J’.
8. salaryascending?
9. Select first_name, incentive amount from employee and incentives table
forthose employees who have incentives and incentive amount greater than
3000
10. Create After Insert trigger on Employee table which insert records in
viewtable
18.Write a SQL statement that displays all the information about all
salespeople
19.From the following table, write a SQL query to find orders that are
delivered by a salesperson with ID. 5001. Return ord_no, ord_date,
purch_amt.
21.From the following table, write a SQL query to calculate the averageprice
for a manufacturer code of 16. Return avg.
23.From the following table, write a SQL query to find the items whose prices
are higher than or equal to $250. Order the result by product price in
descending, then product name in ascending. Return pro_name and
pro_price.
Term-1
Module (HTML) -1
• What is jQuery?
• How to Apply CSS Using JQuery, How to Add Class and Remove Class in Jquery ,
JQuery Animation?
• How to create slider with animation?
• What is a Button Group, and what is the class for a basic Button Group?
Q.30 What are the looping structures in JavaScript? Any one Example?
Q.31 Write a print 972 to 897 using for loop in JS?
Q.32 Write to print factorial of given number?
Q.33 Write to print Fibonacci series up to given numbers?
Q.34 Write to print number in reverse order e.g.: number = 64728 ---> reverse =82746 in JS?
Q.35 Write a program make a summation of given number (E.g., 1523 Ans: - 11) in JS?
Q.36 Write a program you have to make a summation of first and last Digit. (E.g., 1234 Ans: -
5) in JS?
Q.37 Use console.log() and escape characters to print the following pattern in JS?
11111
21248
3 1 3 9 27
4 1 4 16 64
5 1 5 25 125
2) A
BC
DEF
GHIJ
KLMNO
3) 1
23
456
7 8 9 10
11 12 13 14 15
4) *
**
***
****
*****
Q.39 Accept 3 numbers from user using while loop and check each numbers palindrome?
Q.40 Write a JavaScript Program to display the current day and time in the following format.
Sample Output: Today is Friday. Current Time is 12 PM: 12 : 22 2 ?
Q.41 Write a JavaScript program to get the current date?
Q.42 Write a JavaScript program to compare two objects?
Q.43 Write a JavaScript program to convert an array of objects into CSV string?
Q.44 Write a JavaScript program to capitalize first letter of a string?
Q. 45 Write a JavaScript program to determine if a variable is array?
Q.46 Write a JavaScript program to clone an array?
Q.47 What is the drawback of declaring methods directly in JavaScript objects?
Q.48 Print the length of the string on the browser console using console.log()?
Q.49 Change all the string characters to capital letters using toUpperCase() method?
Q.50 What is the drawback of declaring methods directly in JavaScript objects?
Q.51 Write a JavaScript program to get the current date. Expected Output : mm-dd-yyyy,
mm/dd/yyyy or dd-mm-yyyy, dd/mm/yyyy?
Q.52 Use indexOf to determine the position of the first occurrence of a in 30 Days Of
JavaScript?
Q,53 Use lastIndexOf to determine the position of the last occurrence of a in 30 Days Of
JavaScript?
Q.54 Form Validtion in JS?
Q.55 Form in Email, number, Password, Validation?
Q.56 Dynamic Form Validation in JS?
Q.57 how many type of JS Event? How to use it?
Q.59 What is Bom vs Dom in JS?
Q.60 Array vs object defences in JS?
• Create result
• Create a slider using JavaScript
• What is JavaScript?
• What is the use of isNaN function?
• What is negative Infinity?
• Which company developed JavaScript?
• What are undeclared and undefined variables?
• Write the code for adding new elements dynamically?
• What is the difference between ViewState and SessionState?
• What is === operator?
• How can the style/class of an element be changed?
• How to read and write a file using JavaScript?
• What are all the looping structures in JavaScript?
• How can you convert the string of any base to an integer in JavaScript?
• What is the function of the delete operator?
• What are all the types of Pop up boxes available in JavaScript?
• What is the use of Void (0)?
• How can a page be forced to load another page in JavaScript?
• What are the disadvantages of using innerHTML in JavaScript?
Advance JavaScript
MODULE: 1 (Introduction and Code Quality)
● Is array copied?
let fruits = ["Apples", "Pear", "Orange"]; // push a new value into the "copy" let
shoppingCart = fruits; shoppingCart.push("Banana"); // what's in fruits?
alert( fruits.length ); // ?
● Map to names
let john = { name: "John", age: 25 }; let pete = { name: "Pete", age: 30 }; let mary =
{ name: "Mary", age: 28 }; let users = [ john, pete, mary ]; let names = /* ... your
code */ alert( names ); // John, Pete, Mary
● Map to objects
let john = { name: "John", surname: "Smith", id: 1 }; let pete = { name: "Pete",
surname: "Hunt", id: 2 }; let mary = { name: "Mary", surname: "Key", id: 3 }; let
users = [ john, pete, mary ]; let usersMapped = /* ... your code ... */
/*
usersMapped = [
{ fullName: "John Smith", id: 1 },
{ fullName: "Pete Hunt", id: 2 },
{ fullName: "Mary Key", id: 3 }
]
*/ alert( usersMapped[0].id ) // 1 alert( usersMapped[0].fullName ) // John Smith
● Sum the properties There is a salaries object with arbitrary number of salaries. Write
the function sumSalaries(salaries) that returns the sum of all salaries using
Object.values and the for..of loop.If salaries is empty, then the result must be 0.
let salaries = {
"John": 100,
"Pete": 300,
"Mary": 250
};
alert( sumSalaries(salaries) ); // 650
● Destructuring assignment We have an object: Write the Destructuring assignment that
reads:
a) Name property into the variable name.
b) Year’s property into the variable age.
c) isAdmin property into the variable isAdmin (false, if no such property)
d) let user = { name: "John", years: 30};
● Turn the object into JSON and back Turn the user into JSON and then read it back
into another variable.
user = { name: "John Smith", age: 35};
MODULE: 3 (Document, Event and Controls)
• Explain Life cycle in Class Component and functional component with Hooks
● Create React app with modules and lazy loading (Admin-user module with
child Router and outlet)
MODULE: 7 (React – Applying Redux)
• What is Redux?
• What is Redux Thunk used for?
• What is Pure Component? When to use Pure Component over Component?
• What is the second argument that can optionally be passed tosetState and what is
its purpose?
• Create a Table and Search data from table using React Js?
Q2. Create Rest API (get, post, delete, put, patch) for online shopping application.