CoderMantra

Menu
  • Home
  • Quiz
  • How-To
  • Q/A
  • Blog

Assignments

How to send e-mail using node js?

May 26, 2023
| No Comments
| Assignments, node js questions, nodejs assignments, nodejs Projects, Practice Questions, Questions

Here, we will write a code to send e-mail using node js. For this we will require the necessary libraries and use node mailer to performe the function app.js file

Read More »

How to access function in your ejs page.

May 26, 2023
| No Comments
| Assignments, node js questions, nodejs assignments, nodejs Projects, Practice Questions, Questions

Here, we will write a program to access a function in our ejs page. server.js file in root directory functionExample.js file in root directory index.ejs file in views directory

Read More »

Create a file using file system in node js. Perform  read, update,delete and rename functions on the file.

May 26, 2023
| No Comments
| Assignments, node js questions, nodejs assignments, nodejs Projects, Practice Questions, Questions

Here, we will write a program to create a file using file system in node js and perform various operations like read, update, delete and rename function on the file. app.js file

Read More »

How to delete data from table from node js in mongoose?

May 26, 2023
| No Comments
| Assignments, node js questions, nodejs assignments, nodejs Projects, Practice Questions, Questions

Here, we will write a program to delete data from a table in mongoose using node js. First we need to make sure that we have created a successful connection with mongoose and it has a database with a table in place. app.js file

Read More »

How to update data in table from node js in mongoose.

May 26, 2023
| No Comments
| Assignments, node js questions, nodejs assignments, nodejs Projects, Practice Questions, Questions

Here, we will write a program to update the data into a table in mongoose using node js. First step is to create a database and a table and insert some data into it which has already been done in the previous posts. app.js

Read More »

How to insert data In table from node js in mongose?

May 26, 2023
| No Comments
| Assignments, node js questions, nodejs assignments, nodejs Projects, Practice Questions, Questions

Here, we will write a program to insert data into table in mongoose using node js, considering there is a table in the database and a connection has already been made. app.js file

Read More »

How to create table from node js in mongoose?

May 26, 2023
| No Comments
| Assignments, node js questions, nodejs assignments, nodejs Projects, Practice Questions, Questions

Here, we will write a program to create a table in mongoose with node js, considering that the connection has already been made and there is a database in place. app.js file

Read More »

How to create database from node js on mongoose. ?

May 26, 2023
| No Comments
| Assignments, node js questions, nodejs assignments, nodejs Projects, Practice Questions, Questions

Here, we will write a program to create database in mongoose from node js, considering that the connection has already been mad. app.js

Read More »

  • 2 of 19
  • « Previous
  • 1
  • 2
  • 3
  • 4
  • …
  • 19
  • Next »

Assignments

  • Python program to create the following pattern.
  • A program in Python that will accept any string and will calculate the number of digits and letters in that string.
  • A program in Python to search an element in an ordered list using binary search.
  • A python program to calculate the number of occurrences of a specified element in an array.
  • Python program to remove a specified item using array index.
  • A program in Python that will generate a list of all possible permutations from a given collection of distinct numbers.
  • Python program to find the type of the progression and the next successive member of the three successive members of a sequence.
  • A program in python to count the number of each character in a text file.
  • A program in python to convert all the characters into uppercase and lowercase and eliminate duplicate letters from a given sequence.
  • A program in python to check if a triangle is an equilateral or an isosceles or a scalene triangle.
  • C++ program to swap two numbers using a third variable.
  • C++ program to find the Area and Perimeter of a Rectangle.
  • Program in C++ to check whether a number is a positive number, negative number or zero.
  • C++ programs to display the current date and time.
  • C++ program to swap two variables without using a third variable.
  • A program in C++ that reads an integer n and prints a twin prime that has the maximum size among twin primes less than or equal to n.
  • Program in C++ to display all the leap years between two given years. If there is no leap year in the given period then display an appropriate message.
  • Program in C++ that accepts different numbers n as well as an integer s which is equal to the sum of the n different numbers. Find the number of combinations of n numbers.
  • A program in C++ to reverse a digit.
  • A program in C++ to calculate the factorial of a given number by using recursion.
  • Java program to display the pattern in a right angled triangle with a number.
  • Java program to count all vowels in a string.
  • A program in Java to display the first 50 pentagonal numbers.
  • A program in Java to check whether a string is a valid password or not.
  • Java program to display the current date and time.
  • Java Program to sort an array using Merge sort .
  • A program in Java to replace all the vowels in a string with a specified character.
  • A program in Java to convert a Roman number to an integer number.
  • A program in Java to calculate the average value of array elements.
  • A program in Java to check if a file or directory has read and write permission or not.
  • A program to print name, date of birth, and mobile number.
  • Program to reverse a string entered by user.
  • A program to compute the perimeter and area of a circle with a given radius.
  • A program to calculate the sum of two integers.
  • A program that accepts an employee’s ID, total worked hours in a month and the amount he received per hour. Print the ID and salary (with two decimal places) of the employee for a particular month.
  • A program to read an amount (integer value) and break the amount into the smallest possible number of bank notes.
  • Program to compute the sum of the two input values. If the two values are the same, then return triple their sum.
  • Program that checks if a given non-negative number is a multiple of 3 or 7, but not both.
  • A program to check two given integers and returns true if at least one of them is 30 or if their sum is 30.
  • Program to compute the sum of the two given integers. Return 18 if one of the integer values given is in the range 10..20 inclusive.
  • Program to convert Centigrade to Fahrenheit.
  • Program to print the perimeter of a rectangle using its height and width as inputs.
  • A program that takes hours and minutes as input, and calculates the total number of minutes.
  • A program that reads a firstname, lastname and year of birth and displays the names and the year one after another sequentially.
  • A program to perform addition, subtraction, multiplication and division of two numbers.
  • Program to find the third angle of a triangle if two angles are given.
  • A program to accept two integers and check whether they are equal or not.
  • Program to check whether a given number is even or odd.
  • Program to check whether a given number is positive or negative.
  • Program to read the age of a candidate and determine whether he is eligible to cast his/her own vote.
  • Program to find the largest of three numbers.
  • A program to determine eligibility for admission to a professional course based on the following criteria: Eligibility Criteria : Marks in Maths >=65 and Marks in Phy >=55 and Marks in Chem>=50 and Total in all three subject >=190 or Total in Maths and Physics >=140.
  • Program to read the roll no, name and marks of three subjects and calculate the total, percentage and division.
  • Program to read temperature in centigrade and display a suitable message according to the temperature state below: Temp < 0 then Freezing weather Temp 0-10 then Very Cold weather Temp 10-20 then Cold weather Temp 20-30 then Normal in Temp Temp 30-40 then Its Hot Temp >=40 then Its Very Hot
  • Program to check whether a character is an alphabet, digit or special character.
  • Program to check whether an alphabet is a vowel or a consonant.
  • Program to calculate profit and loss on a transaction.
  • Program to calculate and print the electricity bill of a given customer. The customer ID, name, and unit consumed by the user should be captured from the keyboard to display the total amount to be paid to the customer.
  • Program to accept grade and declare the equivalent description.
  • Program to read any day number in integer and display the day name in word format.
  • Program for reading any Month Number and displaying the Month name as a word.
  • A program which computes the area of various geometrical shapes using a menu-driven approach.
  • A Menu-Driven Program to perform a simple calculation.
  • Program to display the first 10 natural numbers.
  • Program to compute the sum of the first 10 natural numbers.
  • Program to display multiplication table for a given integer.
  • Program to display the multiplier table vertically from 1 to n.
  • Program to display the n terms of odd natural numbers and their sum.
  • Program to print Fibonacci series.
  • Program to check whether the number is prime or not.
  • Program to check whether the number is Armstrong or not (for n numbers).
  • Program to check whether the number is Armstrong or not (for a 3 digit numbers).
  • Program to check whether the number is palindrome or not.
  • Program to display a pattern like a right angle triangle using an asterisk.
  • Program to display a pattern like a right angle triangle with numbers.
  • Program to display a right angled triangle with a number which will repeat itself in a row. The pattern is as follows:
  • Program to display a right angled triangle with the number increased by 1. The pattern is as follows :
  • Program to make a pyramid with an asterisk.
  • Program to calculate the factorial of a given number.
  • Program to display the sum of n terms of even natural numbers.
  • Program to print the number in reverse order.
  • Program to find the HCF (Highest Common Factor) of two numbers.
  • Program to find the LCM of any two numbers.
  • Program to print a string in reverse order.
  • Program  to store elements in an array and print them.
  • Program to read n number of values in an array and display them in reverse order.
  • Program to find the sum of all elements in the array.
  • Program to count the total number of duplicate elements in an array.
  • Program to count the frequency of each element of an array.
  • Program to find the maximum and minimum elements in an array.
  • Program to sort elements of an array in ascending order.
  • Program to sort elements of an array in descending order.
  • Program to input a string and print it.
  • Program to find the length of a string without using library functions.
  • Program to print individual characters of a string in reverse order.
  • Program to count the total number of words in a string.
  • Program to copy one string to another string.
  • Program  to count the total number of vowels or consonants in a string.
  • Program to swap two numbers using a function.
  • Program to check if a given number is even or odd using the function.
  • Program to check whether a number is a prime number or not using the function.
  • Program to get the largest element of an array using the function.
  • Program to create and store information in a text file.
  • Program to read an existing file.
  • Program to write multiple lines to a text file.
  • Program to merge two files and write them to another file.
  • Program to add two numbers using pointers.
  • Program to add numbers using call by reference.
  • Program to find the maximum number between two numbers using a pointer.
  • Program to swap elements using call by reference.
  • Program to create a database with Mysql.
  • Program to create a table with Mysql.
  • Program to insert record into a table with Mysql.
  • Program to access data of the database and print them.
  • Program to update record into a table with Mysql.
  • Program to delete record from table with Mysql .
  • Create a Registration Page using PHP.
  • Create a Login Page Using PHP
  • Create Forgot Password and Reset Password Functionality Using PHP.
  • Connect to Xampp server using PHP.
  • Create a database using PHP.
  • Program to Create table in php.
  • Program to Insert data using PHP in mysql.
  • Program to update data fuction using PHP in mysql.
  • Program to delete data from table using PHP in mysql.
  • Program to Access Data From database in PHP.
  • Program to upload a file using php.
  • How to create your own module and import them in your index.js file in node Js?
  • How to Manage session in node js using express and cookie parser?
  • Create a code for form validation using java script in node js.
  • How to Create a Registration form in node js?
  • How to Create a login page with session in node js.?
  • How to render variables in your ejs page?
  • Explain routing with a simple example in node js.
  • How to create a connection with mongoose in node js. ?
  • How to create database from node js on mongoose. ?
  • How to create table from node js in mongoose?
  • How to insert data In table from node js in mongose?
  • How to update data in table from node js in mongoose.
  • How to delete data from table from node js in mongoose?
  • Create a file using file system in node js. Perform  read, update,delete and rename functions on the file.
  • How to access function in your ejs page.
  • How to send e-mail using node js?
  • How to Create steps for forgot password link in node js ?
  • How to Create http module to transfer data over the Hyper Text Transfer Protocol?
  • How to upload a file using Node js.?
  • Single Linked List Program in Java
  • Python Program to Swap Two Variables
  • Number Guessing Game in Python
  • Simple Calculator Program in Python
  • Binary Search Tree Traversal in Java
About CoderMantra

Coder Mantra is a unique e-learning website, offers a tutorial of different popular programming languages with examples. The code on this popular tutorial website is tested and executed.

Latest Posts
10 AI Tools to Save 5 Hours Daily April 7, 2026
Freelancing Using AI: Step-by-Step Roadmap for Beginners (2026 Guide) April 6, 2026
How to Earn Money Using AI Tools April 5, 2026
Top Skills to Learn in 2026 for Students (Future-Proof Career Guide) April 4, 2026
Contact Us

info@codermantra.com

admin@codermantra.com

© 2020 Coder Mantra . All Rights Reserved
About | Privacy Policy | Terms | Contact