1. Given the following code, which method is an example of method overloading? Please select "A, B, C, D, or E" as correct option.
class Parent
{
public int show() { ... }
public int showIt(int x) { ... }
public int showMe() { ... }
public double showHow() { ... }
public void showAgain() { ... }
}
class Child extends Parent
{
public int show(int x) { ... }
public int showIt(int x) { ... }
public int showMe() { ... }
public int showHow() { ... }
public double showHow() { ... }
}
A. show()
B. showIt()
C. showMe()
D. showHow()
E. showAgain()
1.1 Describe how an operating system interacts with applications and hardware. Discuss the steps involved. (10) 1.2 Identify and describe key features of productivity applications. (10)
Mobile operating system is the heart of smart phone. Various mobile operating systems like Android, iOS, Windows Phone, Blackberry, Tizen, Sailfish OS, Ubuntu Touch, Firefox OS are available. Each of them has some common as well as unique specialized features.
1.3 Discussed their various features for Android, iOS, Windows Phone and Blackberry and Tizen like App support, OS updates, voice assistance, cloud services, map, voice assistance, security and reliability, market share, customization rights and camera settings. (25)
Given two ordered linked lists L1 and L2, write a function that deletes every element of L2
contained in L1. Your function should be a friend function of the class
orderedLinkedListType.
8. Develop a program by designing a class to represent a bank account. Include the
following members:
Data Members:
Name of the Depositor
Account Number
Type of account
Balance
Methods:
getdetails( ) ---To assign initial values
deposit( ) ---To deposit an amount
withdraw( ) ---To withdraw an amount after checking balance
display( )--- To display the name and balance.
Write a java program to calculate the income of sales person per week.
Itemcode
Item Name
Unit Price
Quantity
121
Shampoo
250.45
3
131
Soap
102.16
2
141
Talcum powder
98.23
3
145
Oxford Dictionary
500.24
4
6. Write a java application that inputs an integer containing only 0‘s and 1’s (i.e. a binary integer) and prints its decimal equivalent.
Write a Java application that ask the user to enter two integers, and prints their sum, product, difference and quotient (division).
[Use Scanner class present in java.util package and nextInt () method to read input].
Write a Java application that inputs from the user the radius of a circle as an integer and prints the circle's diameter, circumference and area using floating point value 3.1459 for pi. You may also use constant Math.PI for the value of pi. Class Math defined in package java.lang.
[Note: Use Scanner class present in java.util package and nextInt () method to red input].
3. Write a Java Application that inputs from the user temperature in Fahrenheit as an float and converts in to its equivalent Celsius temperature and print the result.(Formula:c=(f-32)*5/9)
[Note: Use Scanner class present in java.util package and nextFloat () method to red input].
Write a JavaScript code by using HTML and CSS
Program name is Custom Range Counter
Custom Range Counter
Instructions:
By following the above instructions, achieve the given functionality.
Here is the Output Image on link below
https://drive.google.com/file/d/1aUujQ6KsVQKmVEjnBuCeu16Nd0Pr1-al/view?usp=sharing
Greatest Among Four Numbers
Given four integers, write a program to print the greatest value among the four numbers.
Input
The first line of input will be an integer.
The second line of input will be an integer.
The third line of input will be an integer.
The fourth line of input will be an integer.
Output
The output should be a single line containing the greatest number.
Explanation
For example, if the given numbers are 5, 3, 7, 2. As 7 is the greatest among the four numbers, so the output should be 7.
Test Case 1:-
Input:-
5
3
7
2
Output:-
7
Test Case 2:-
Input:-
11
11
11
11
Output:-
11
We need all test cases can be came when code was run. I want exact outputs for all test cases
Consider a list of unsorted numbers, think about an algorithm to test all the items in the list to check whether there are any two consecutive numbers (even if they are not adjacent) or not. • For example 1: List A = [10,7,23,18,45, 24] -> output: true o the output is True because 23 and 24 are consecutive numbers (even not adjacent). • For example 2: List B = [24,15,18,18,42, 22] -> output: false o the output of example 2 is False because there isn’t any consecutive numbers. Now, answer the following Questions: 1- Write an algorithm to solve the above problem? 2- Can you write a new algorithm that is more efficient than the one you wrote in question1 which does the same job? if the answer is yes you need to write down the new algorithm, if not you need to mention that your solution is the best solution?
Create an algortihm using python.
• Move each bar from tower A to tower C. You can only move one bar at a time. You are not allowed to place the larger disk onto a smaller disk.
LINK PHOTO:
https://www.google.com/search?q=tower+of+hanoi+image&source=lnms&tbm=isch&sa=X&ved=2ahUKEwi6veGsgMPwAhVVFogKHVD6D2IQ_AUoAXoECAEQAw&biw=1366&bih=657#imgrc=W_DnmKgBwq_XxM