Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Write an algorithm to find the total number of units of memory allocated deallocated by the server 1 after preprocessing all the requests

Write a program in C++ using class to calculate the total marks scored by 10 students in a class for 5 subjects out of 100 each. Also calculate the percentage scored and declare the topper of the class. Display the name and roll number of the topper.


Write a program that has a class ‘Customer’ to store records of 100 Customers of company “ABC” including following members: Data member: (1) Cust_id (2) Cust_name (3) Cust_address Member Functions: (1)getdata() (2)display() 


given a number of days(N) as input, write a programme to convert N to years(Y),weeks(W)and days(D)


if the input is :

4 4

1 2 3 4

5 6 7 8

9 10 11 12

13 14 15 16


then output should be:- 1 2 3 4 8 7 6 5 9 10 11 12 16 15 14 13


Provide your own examples of the following using Python lists. Create your own examples. Do not copy them from another source.



Nested lists


The “*” operator


List slices


The “+=” operator


A list filter


A list operation that is legal but does the "wrong" thing, not what the programmer expects


Provide the Python code and output for your program and all your examples.




Given a MxN matrix,write a program to print all Anti-Diagonals elements of matrix





Input





The first line of input will contain a M, N values separated by space.





The second line will contain matrix A of dimensions MxN.





Output





The output should contain anti-diagonal elements separated by a line.





Explanation





For example, if M = 2, N = 3





Matrix A:





1 5 5





2 7 8





Output:





1





5 2





5 7





8

Question 1



Revisit Later



Compil



How to Attempt?



Placement Season Begins



The placement season has begun in a college. There are N number of students standing outside an interview room in a line. It is given that a person who goes in first has higher chances of getting selected.



Each student has a number associated with them known as the problem solving capability (PSC). The higher the capability, the higher the chances of selection. Now, each student wants to know the number of students ahead of him/her who have more problem-solving capability than him/her.



Find this number for each student.



Input Specification:



input1: An integer N. which denotes the number of students present. input2: An array of size N, denoting the problem-solving capability of the students



AUTOMATED TELLER MACHINE

Screen/layout

MAD AUTOMATED TELLER MACHINE IS ONLINE


INPUT YOUR 6 DIGIT PIN ******


ENTER[Y/N]: Y

(default PIN is mad123; if correct go to main screen otherwise display the message "WRONG PIN". On the 3rd wrong attempt the prog. should exit)


[C]HECK BALANCE

[D]EPOSIT CASH

[W]ITHDRAW CASH

C[H]ANGE PIN


TRANSACTION: [C|D|W|H]: C


YOUR CURRENT BALANCE IS:

Php 0.00

TRANSACTION: [C|D|W|H]: D


INSERT YOU CASH

Php 15,000.00


Transaction [C|D|W|H]: W


INPUT THE AMOUNT OF WITHDRAWAL

Php 20,000.00

CASH NOT ENOUGH, TRY AGAIN


INPUT THE AMOUNT OF WITHDRAWAL

Php 5,000.00


TRANSACTION: [C|D|W|H]: H


INPUT YOUR CURRENT PIN ******

INPUT YOUR NEW PIN ******

VERIFY YOUR NEW PIN ******


ENTER[Y/N]: Y


AUTOMATED TELLER MACHINE

Create a C++ program that will

  • Deposit cash amount in a bank account
  • Check available balance of the account
  • Withdraw cash amount from an account
  • Compute for the interest earned for balances greater than Php 10,000.00
  • Charges for having a balance below the required minimum

Maintaining balance is Php 5,000.00

Interest rate is 5%

Bank charge is 2%

PIN (Personal Identification Number) is required to do a bank transaction

The program gives the user an option to change PIN





LATEST TUTORIALS
APPROVED BY CLIENTS