Give a brief overview of the evolution of the Intel X86 architecture from its introduction in 1978 up to these day.
Create an employee management system that contains the following detail of an employee. a) Employee ID b) Employee Name c) Employee Salary d) Job experience in terms of years Following operations can perform by using the linked list. 1) Insert the employee record 2) Delete the employee record 3) Search the employee record
Design a Car model class under package packages with the following attributes:
Member Field Name
licenceNumber
Type
String
String
Double
Model
currentMileage engine Size
Integer
Mark all the attributes as private & Create default & parameterized constructors
Design another class as Main under package packages, where you need to implement logic as follows
Declare an array as Car with size N where N is to be accepted from user Take N Car's information from user and store them in specified array Call sortCarlist method from Main class to get all cars information sorted based on Model name and display then within Main class after returning back
from the specified method From Main class car array need to pass within sortCarLast method which return sorted car array and then display all car information on console.
Design sortCarlist method in Car clast, as follows: will take a car array and retam car array
it will sort array based on model value given in each car as its information
How can I write a square pattern with a triangle insideg
and the pattern size will change according to user input
If the input integer is 0, negative or an even number, then the program will print nothing.
Example:
Input: 9
*********
** **
* * * *
* * * *
* * *
* *
* *
* *
*********
Input: 5
*****
** **
* * *
* *
*****
Input: 1
*
Input: 4 Write a program in C++ that prompt a user to input his/her yearly gross income. Your program should display the yearly income and the computed tax due, using the table below. (BIR proposed the following Tax computation, with the following Tax Schedule) 0% on income less than 50000; 15% on income from 50000 to 150000; 25% on income from 150001 to 250000; 35% on income over 250000.
You are given a binary compass which shows the direction you are safe to go to.
The binary compass read n binary digits (bits) which interprets 1 to rotate 90o
to
the left and 0 rotate 90o
to the right. Initially you are facing North. Create a program
for this binary compass.
Sample Output 1:
Enter your name: Glenn G. Noynay
Hi! Glenn G. Noynay
Enter number of bits: 7
Enter 7 binaries: 0 0 0 0 0 0 0
Direction: Go West, Glenn G. Noynay!
Sample Output 2:
Enter your name: Rogelio P. Noynay
Hi! Rogelio P. Noynay
Enter number of bits: 5
Enter 5 binaries: 1 1 1 0 1
Direction: Go East, Rogelio P. Noynay!
Write a menu driven program which has the following options:
1. Factorial of a number
2. Prime or not
3. Odd or Even
4. Exit
Once a menu item is selected the appropriate action should be taken and once
this action is finished, the menu should reappear. Unless the user selects the “Exit”
option the program should continue to work. You may use of an infinite while and
switch statement.
Make a program that prints out the first 8 multiples of a given integer y. Please use
for loop.
Sample output:
Enter a number: 7
7 14 21 28 35 42 49 56
While purchasing certain items, a discount of 10% is offered if the quantity
purchased is more than 1000. If quantity and price per item are input through the
keyboard, write a program and a flowchart to calculate the total expenses.
Midterm Questions-checkpoint.ipynb
Midterm Questions-checkpoint.ipynb_
𝗤𝘂𝗲𝘀𝘁𝗶𝗼𝗻 1
As you are a student of university now, you need to ensure your assignments
are plagiarism-free. To do this, you decide to design a simple plagiarism
checker. Your checker will take 2 strings as input. Then it will compare
the 2 strings and check how many words they have in common. Then, print the
percentage in common, by calculating:
(No. of words in common / (No of words in string 1 + No of words in string 2)) * 100.
If the calculated plagiarism is greater than or equal to 30%,
print “Plagiarism detected.” Otherwise, print “Good job!”.
Note: you need to compare “words” not individual characters. You can
consider that all characters in both inputs will be in only lowercase or
uppercase.