Roots of a quadratic equation
This Program name is Roots of a quadratic equation. Write a Python program to Roots of a quadratic equation, it has two test cases
The below link contains Roots of a quadratic equation question, explanation and test cases
https://docs.google.com/document/d/1Wz9yIZ4GQON9tJEmSTAbcMunwn95k5PB/edit?usp=sharing&ouid=104486799211107564921&rtpof=true&sd=true
We need exact output when the code was run
Diamond
This Program name is Diamond. Write a Python program to Diamond, it has two test cases
The below link contains Diamond question, explanation and test cases
https://docs.google.com/document/d/1LtfuUk5t1IPGh6yCOoJ2Tm3AZFZnVb1W/edit?usp=sharing&ouid=104486799211107564921&rtpof=true&sd=true
We need exact output when the code was run
write a C program to count the number of zero elements in a two dimensional matrix using function with 2D array as an argument
Sample input:
12 0 38
4 3 0
7 0 9
No of zero elements:3
Sum of N terms in Harmonic series
This Program name is Sum of N terms in Harmonic series. Write a Python program to Sum of N terms in Harmonic series, it has two test cases
The below link contains Sum of N terms in Harmonic series question, explanation and test cases
https://docs.google.com/document/d/1kZEEzRlzAo_HT0I9HineNAMs_3PwlU2_/edit?usp=sharing&ouid=104486799211107564921&rtpof=true&sd=true
We need exact output when the code was run
Write a program that determines whether you can run for president. To run for president the constitution states: No Person except a natural born Citizen, or a Citizen of the South Africa(SA), at the time of the Adoption of this Constitution, shall be eligible to the Office of President; neither shall any Person be eligible to that Office who shall not have attained to the Age of thirty five Years, and been fourteen Years a Resident within the South Africa. Ask three questions of the user and use the guess and check pattern to determine if they are eligible to run for President.
Write a program that read an integer and display all its smallest factors. example if the input integer 120,then the output should be as follows: 2,2,2,3,5.
Write a function that determines whether an integer is a prime number.
Create a React app that allows users to register { name, surname, age, location } and validate the inputs, store registration data inside an array, display list of users on the next component called Users. Allow users to click on current registered users to display a selected user data on the next component called UserInfo, a user should be able to update data/information of registered user.
IPL Match Details
Write a program that reads all the match outcomes and summarizes the information of all the matches.
Points are given to the teams based on the outcome of the match.
A win earns a team 3 points. A draw earns 1. A loss earns 0.
The following information is expected:
MP: Matches Played
W: Matches Won
D: Matches Drawn (Tied)
L: Matches Lost
P: Points
The team information should be displayed in descending order of points.
Input
6
CSK;RR;loss
RR;DD;draw
MI;KKR;win
KKR;RR;lossOUTPUT:
Team: RR, Matches Played: 3, Won: 2, Lost: 0, Draw: 1, Points: 7
Team: MI, Matches Played: 2, Won: 1, Lost: 0, Draw: 1, Points: 4
Team: DD, Matches Played: 3, Won: 0, Lost: 0, Draw: 3, Points: 3
Team: CSK, Matches Played: 2, Won: 0, Lost: 1, Draw: 1, Points: 1
Team: KKR, Matches Played: 2, Won: 0, Lost: 2, Draw: 0, Points: 0What is meant by python programming