Other Programming & Computer Science Answers

Questions: 1 727

Answers by our Experts: 1 357

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

What is the significance of control functions? Design the complete hardware, including the
logic gates for the control function that implement the statement:

i) xy’ T0 + T1 + x’y T2 : A A + 1
ii) F T1 + R’ T3 : A B
8. Write a function named time() that has an integer parameter named seconds and three integer reference parameters named hours, mins, and secs. The function is to convert the passed number of seconds into an equivalent number of hours, minutes, and seconds. Using the reference parameters, the function should alter the arguments in the calling function.
You have implemented a loop structure in the previous assignment. To improve the program
structure, you need to put a part of the code that performs certain sub function into a
procedure (method). In this question, you need to put the part of the MIPS code
corresponding to the following high-level language code into a procedure: [Total 20 points]
if (W[i] > Max)
{
Max = W[i];
Winner = "Player " + Convert.ToString(i);

}
In the procedure, W[i] and Max must be treated a parameters (inputs), and the modified MAX
value and the modified Winner value must treated as the return values (outputs) of the procedure.
The reserved registers for parameter passing and return value must be used for this purpose.

THE CODE:
.data
Array: .word 0:5
PlayerInput: .asciiz "\n Enter the weight of Player " # Define a constant string.
OutputJuan: .asciiz "\n Player " # Define a constant string.
OutputTwo: .asciiz "wins with weight = " #Define a constant string.
NewLine: .asciiz "\n" #Define a constant string.
.text
l
my output should be:

(key in form)
No Lecturer Name Phone number Email
** ******* ******** *****
** ******* ******** *****
** ******* ******** *****

(key in form)
Registration number Student name Program
************** ********** *******
************** ********** *******
************** ********** *******

(search form)
No Lecturer name Phone number Email
** ********** *********** ******

Registration number Student name Program




~>my problem is when i search for student registration number only came out one nam.it should be more than one name.i have try using loop still doesn't work.i'm using notepad for write coding and command prompt for compile and run output.
Question # 773

A Book is Good if it satisfies the following conditions:

It has more than 100 pages and Its title must not end with the character 's'.
If title ends wih the character 'e', then should not start with character 'a'
The publisher of the book must be one of "Niho books", "DreamWorldz", "Pogo Books" and "Diamond Comics"
The number of authors must be greater than 2. But if "CK Bose" is one of the authors, then this conditon is not required.
If "Pran" is one of the authors, the publisher must be "Diamond comics".
There should be atleast 10 pages per rupee cost of the book.

Write a method:

boolean isGoodBook(String title, String publisher, int numPages, float price, String[] authors)

title The title of the book
publisher Name of the publisher of the book.
numPages Number of pages in the book.
price Price of the book in rupees.
authors A string array containing the list of authors.
a programmer is asked to do an invoice of the telephone account for a subscriber. the input to this program is the telephone number dialed and the length of call in minutes (integer). the fees are 50 cents for the first minute and 30 cents for every minute thereafter. the telephone number and cost of the call must be displayed for every call.the total amount due by the subscriber must be shown at the end of the invoice. a telephone number of 9999 serves as sentinel.
sorry for using other category cuz every time I choose c category it tell me "select the category again"

Write a C program that implements the following requirements:
- There are employees and 5 team leaders
- Each team leader is responsible of a team of employees
- For every team leader, the program shall:

* read the ID, the salary, the size of the team, and the salaries of the team members
*If there is an employee which has a salary that is greater than team leader’s, the program shall display: This employee has a salary > salary of his TL
how to implement a dual stack in a single structure?
My question is abut android .
how to move screen with data by clicking button in swipe tabs.
If 1000 bytes make 1KB, How many bytes are in 1 GB
LATEST TUTORIALS
APPROVED BY CLIENTS