## Program to find the Area and Perimeter of a Semicircle

Given the radius of the semicircle as r, the task is to find out the Area and Perimeter of that semicircle. Examples: Input: r =… Read More »

- Program to calculate Electricity Bill
- Check if a Number is Odd or Even using Bitwise Operators
- Program to print half Diamond star pattern
- Check if its possible to make sum of the array odd with given Operations
- Program to reverse the rows in a 2d Array
- Check whether a Matrix is a Latin Square or not
- Program to calculate Percentile of a student based on rank
- Replace every element with the smallest of the others
- Count of elements A[i] such that A[i] + 1 is also present in the Array
- Make A, B and C equal by adding total value N to them
- Calculate the frequency of each word in the given string
- Count of greater elements for each element in the Array
- Student Information Management System
- Check if a word is present in a sentence
- Find two numbers such that difference of their squares equal to N
- XOR of every element of an Array with a given number K
- The "Hello World" To Programming
- Find ratio of zeroes, positive numbers and negative numbers in the Array
- Print string after removing all (“10” or “01”) from the binary string
- Program to balance the given Chemical Equation
- C program to display month by month calendar for a given year
- Print the Alphabets A to Z in Star Pattern
- Print Triangle separated pattern
- Represent N as sum of K even or K odd numbers with repetitions allowed
- Program to find all Factors of a Number using recursion
- Find the largest and second largest value in a Linked List
- Find the remainder when N is divided by 4 using Bitwise AND operator
- Largest number less than or equal to Z that leaves a remainder X when divided by Y
- Java Program to Add two Matrices
- Program to find absolute value of a given number

Given the radius of the semicircle as r, the task is to find out the Area and Perimeter of that semicircle. Examples: Input: r =… Read More »

Given a positive number ‘N’, the task is to find whether ‘N’ is balanced or not. Output ‘YES’ if ‘N’ is a balanced number else… Read More »

COMPUTER SCIENCE (PAPER 1: THEORY) (Maximum Marks: 70) (Time allowed: Three hours) (Candidates are allowed additional 15 mins for only reading the paper. They must… Read More »

Given a matrix of order m*n, the task is to find out the sum of each row and each column of a matrix. Examples: Input:… Read More »

Given a string S of parentheses ‘(‘ or ‘)’ where, . The task is to find minimum number of parentheses ‘(‘ or ‘)’ (at any… Read More »

Given a number n, the task is to find the sum of the below series upto n terms: 12 – 22 + 32 – 42… Read More »

Given here is a regular octagon of side length a, the task is to find the length of it’s diagonal. Examples: Input: a = 4… Read More »

Given side of a Decagon, the task is to find out the Perimeter of the Decagon. Explanation : In geometry, a decagon is a ten-sided… Read More »

Given a string, the task is to replace all the spaces between the words with a hyphen character ‘-‘. Examples: Input: str = “Geeks for… Read More »

Given an array of integers of N elements. The task is to print the product of all of the pairwise consecutive elements. Pairwise consecutive pairs… Read More »

Given the sides of a Parallelogram, task is calculate the area of a Parallelogram. Examples: Input: base = 30, height = 40 Output: 1200.000000 As… Read More »

Given an array of integers. The task is to write a program to find the product of elements at even and odd index positions separately.… Read More »

Given a number n, the task is to write a program to draw the following pattern using ‘$’. $ $ $ $ $ $ $… Read More »

Given a NxM matrix. The task is to find the maximum element in this matrix. Examples: Input: mat[4][4] = {{1, 2, 3, 4}, {25, 6,… Read More »

Any text-based data is stored by the computer in the form of bits(a series of 1s and 0s), and follows the specified Coding Scheme. The… Read More »