Answer:
TIME. Displays current time and allows it to be changed. ...
DATE. Displays current date and allows it to be changed. ...
CLS. Clears the screen. ...
DIR. Shows directory information of a diskette: name, size, and the date and time stamp of files. ...
COPY. Copies a file. ...
TYPE. Displays the contents of a file. ...
DEL. ...
REN.
Explanation:
Write a program binary.cpp that reads a positive integer and prints all of its binary digits.
Answer:
View image below.
Explanation:
They're just asking you to create a num2bin function on Cpp.
If you search for "num2bin in C", you can find a bunch of answers for this if you think my solution is too confusing.
One way to do it is the way I did it in the picture.
Just copy that function and use it in your program. The rest you can do yourself.
Describe Atari and explain how the level of technology available at the time impacted the development of Atari game systems
Answer:
Atari is something that is dangerous .
has led to many bad things to the young ones
From your finding,conclusion and recommendations can you make on the issue of human rights violations to:Government
What is the value of the variable named result after the following code executes?
var X = 5; var Y = 3; var Z = 2;
var result = ( X + Y ) / Z * X;
Answer:
The value of result is 20
Explanation:
Given
The above code segment
Required
The value of result
In the first line, we have:
[tex]X = 5; Y = 3; Z = 2[/tex]
In the second, we have:
[tex]result = (X + Y)/Z * X[/tex]
This implies that:
[tex]result = (5 + 3)/2 * 5[/tex]
[tex]result = 8/2 * 5[/tex]
[tex]result = 4 * 5[/tex]
[tex]result = 20[/tex]
7. A puzzle game featuring falling bricks which need to be3 organized on the screen describes which of the following very popular games from the 80s?
a) Tricks
b) Tetris
c) Sonics
d) Bricks
Answer:
Tetris
Explanation:
The percentage of the audience with TV sets turned on that is watching a particular program is known as the ____________________.
Answer:
Share.
Explanation:
Social media publishing also known as broadcasting, can be defined as a service that avails end users the ability to create or upload web contents in either textual, audio or video format in order to make them appealing to a target audience.
Thus, these multimedia contents are generally accessed by end users from time to time through the use of various network-based devices and television set. As users access these contents, they're presented with the option of sharing a particular content with several other people a number of times without any form of limitation.
Additionally, the demographic or amount of audience (viewers) that a television show or program is able to get to watch at a specific period of time is generally referred to as share.
Hence, the percentage of the audience with TV sets turned on that is watching a particular program is known as the share.
For example, the percentage of the audience tuned in to watch a champions league final on a Saturday night, 8:00pm via their television set.
What should be the first tag in any HTML document? A. <head> B. <title> C. <html> D. <!DOCTYPE >
Answer:
C.
Explanation:
5. Which of the following people is credited with creating the first successful video game?
a) Al Alcorn
b) Ralph Baer
c) Shigeru Miyamoto
d) Nolan Bushnell
2. Released in 1992, Street Fighter II, the revolutionary fighting game, was developed by which company?
a) Electronic Arts
b) Atari Interactive Inc.
c) Capcom
d) Nintendo
Answer:
It is D
Explanation:
Street Fighter II: The World Warrior is a competitive fighting game developed by Capcom and originally released for arcade systems in 1991.
Answer:
c
Explanation:
Create a vector of structures experiments that stores information on subjects used in an experiment. Each struct has four fields: ID, name, weights, and height. The field ID is an integer, name is a string, weights are a vector with two values in pounds (both of which are double values), and height is a struct with fields feet and inches (both of which are integers). The following is an example of what the format might look like.
Experiments
ID Name Weights Height (feet) Icnhes
1 2
1 1111 Bob 150.1 149.6 6 1
2 2222 Ann 106.2 106.6 5 3
Write a function printhheight that will receive a vector of structures in this format and will print the name, ID and height of each subject in inches (1 foot = 12 inches). This function calls another function height that receives a height struct and returns the total height in inches. This function could also be called separately.
Answer:
im assuming this is required to be done in matlabs.
Explanation:
experiment.m
% Create an "experiments" vector of structures
% variable, and pass it to a function that will
% print the height of each subject
experiments(2) = struct('ID', 2222); 'name'; 'Ann'; ...
'weights'; '106.2, 106.6.9'; 'height'; struct('feet',5, 'inches',3);
experiments(1) = struct('ID',1111);'name'; 'Bob'; ...
'weights'; '150.1, 149.6'; 'height'; ...
struct('feet', 6, 'inches', 1);
printhheight(experiments)
printhheight.m
function printhheight(experiments)
% Prints height of every subject
% Format of call: prinths(experiments vector)
% Does not return any values
for i = 1 : length(experiments), high = height(experiments(i)*height);
fprintf('%s is %d inches tall\n', ...
experiments(i).name, high)
end
end
height.m
function ht = height(expstruct)
% Calculates height in inches of a subject
% Format of call: height(experiment struct)
% Returns height in inches
ht = expstruct.feet*12+expstruct.inches;
end
Please assist me with these questions - Do not send me links. Issues in opening the links:
15. Which of the following X-Box games helped to launch Microsoft’s gaming console to the top of the market, alongside Sony PlayStation and Nintendo’s Game Cube?
a) Halo 2
b) Portal
c) Quake
d) Guitar Hero
17. The idea of shipping out smaller versioins of the games and following it with expansion packs was first introduced with which of the following games?
a) Blade and Soul
b) The Sims
c) Portal
d) World of warcraft
18. Wii Sports was unique in the way that it allowed a player to ______.
a) play any one of five well-known games without need for instructions
b) participate in a simulation of a sporting event, such as an NBA match
c) could be played by up to 15 gamers at the same time
d) it specifically targeted the older generation, which until that time was not considered by gaming companies.
19. All EXEPT which of the following innovations contributed to making Halo one of the most successful and iconic games of all time?
a) zoom-in control stick
b) regenerating health bars
c) Use of an unlimited number of weapons
d) Matchmaking system that would pair players of similar levels
20. Portal, release in 2007 by Valve studios, can be categorized as a _______
a) First person shooter game
b) Puzzle game
c) Massively Multiplayer online game (MMO)
d) role-playing game
Answer:
15) Halo 2
17) Sims
18) B
19) A
20) B
Explanation:
Evaluate 3³×2³×4²×3-¹×4-²
Answer: I already answered this question here:
Answer:
72:)
Explanation:
Hope it helps;))))))))
You work in a pawn shop that gets in shipments of jewelry. Each shipment is kept in a file (see below for a sample file) and contains the type of jewelry, the stone in the piece of jewelry and whether it is real or fake. Create a function that prints to screen certain information about the shipment and returns the number of a specific number of items (based on the arguments-see sample runs)
File: jewelry1.txt ring diamond real necklace diamond real ring sapphire fake bracelet ruby fake bracelet diamond fake Sample runs: printf("%d\n",get_available_items("jewelry1.txt","stone")); (base) Computers-MacBook Air! computers .la.out I see that -stone- is important in this shipment. Any specific stone to count? diamond OK. I will keep count of the number of the following that I find: diamond --diamond print out all stones --diamond - - Sapphire --ruby --diamond -ruby returns 3 since there are 4 diamonds printf("%d\n",get_available_items("jewelry1.txt", "type")); (base) Computers-MacBook Air:C computers ./a.out I see that -type- is important in this shipment Any specific type to count? ring Ok. I will keep count of the number of the following that I find: ring ring print out all types --necklace -ring --bracelet --bracelet --ring 3 returns 3 since there are 3 rings printf("%d\n",get_available items("jewelry1.txt", "authentic")); (base) Computers - MacBook Air:C computers .la.out I see that -authentic. is important in this shipment. Any specific authentic to count? fake Ok. I will keep count of the number of the following that I find: fake - real print out all real/fake - real - fake - fake --fake fake returns 4 since there are 4 fakes printf("%d\n",get_available_items("jewelry1.txt","cookie")); (base) Computers-MacBook Air:C computers ./a.out Unknown parameter to check...-1 you have to pass one of the following: type. Stone, authentic
I find: ring ring print out all types --necklace -ring --bracelet --bracelet --ring 3 returns 3 since there are 3 rings printf("%d\n",get_available items("jewelry1.txt", "authentic")); (base) Computers - MacBook Air:C computers .la.out I see that -authentic. is important in this shipment. Any specific authentic to count? fake Ok. I will keep count of the
Code a complete Java program to load and process a 1-dimensional array.
Create clear comments as you code to tell me what you are doing.
Import the Java libraries that you will need.
Create a single dimensional array that will hold 15 wages.
In the main, load an array with all of the records from a .txt file named Salary txt. The file has 15 records in it.
Sort the array in ascending order.
Write a method named increaseWages(). This method will add $500 to each of the 15 wages. In other words, you are giving each person a raise of $500.
Pass the array to the method from the main().
Increase the wage amounts in the array (as described above), in the method. In other words, in the end the array should hold the NEW, higher wages.
Output each new wage (use the console for this)
Calculate a total of the new wages in the method
Output the total of the new wages in the method (use a dialog box for this)
Return the array with the new wages to the main().
There is NO user interaction in this program.
Answer:
Here you go.Consider giving brainliest if it helped.
Explanation:
import java.io.*;//include this header for the file operation
import java.util.*;//to perform java utilities
import javax.swing.JOptionPane;//needed fro dialog box
class Driver{
public static void main(String args[]){
int wages[]=new int[15];//array to hold the wages
int index=0;
try{
//use try catch for the file operation
File file=new File("wages.txt");
Scanner sc=new Scanner(file);//pass the file object to the scanner to ready values
while(sc.hasNext()){
String data=sc.nextLine();//reads a wage as a string
String w=data.substring(1);//remove the dollar from the string data
wages[index++]=Integer.parseInt(w);//convert the wage to int and store it in the array
}
sc.close();//close the scanner
}catch(FileNotFoundException e){
System.out.println("Error Occurrred While Reading File");
}
//sort the array using in built sort function
Arrays.sort(wages);
//print the wages
System.out.println("Wages of 15 person in ascending order:");
for(int i=0;i<wages.length;i++){
System.out.print("$"+wages[i]+" ");
}
//call the increases wages method
wages=increaseWages(wages);//this method return the updated wages array
}
//since we can call only static methods from main hence increaseWages is also static
public static int[] increaseWages(int wages[]){
//increase the wages
for(int i=0;i<wages.length;i++){
wages[i]+=500;
}
//print the new wages
int sum=0;
System.out.println("\n\nNew wages of 15 person in ascending order:");
for(int i=0;i<wages.length;i++){
sum+=wages[i];//sums up the new wages
System.out.print("$"+wages[i]+" ");
}
//display the summation of the new wages in a dialog box
JOptionPane.showMessageDialog(null,"Total of new wages: "+sum);
return wages;
}
}
There Are Two Programs in this Question who will attempt first i will give brainliest ans reward and big points:-
Question no 1:-
Consider a base class named Employee and its derived classes HourlyEmployee and PermanentEmployee while taking into account the following criteria.
Employee class has two data fields i.e. a name (of type string) and specific empID (of type integer)
Both classes (HourlyEmployee and PermanentEmployee) have an attribute named hourlyIncome
Both classes (HourlyEmployee and PermanentEmployee) have three-argument constructor to initialize the hourlyIncome as well as data fields of the base class
Class HourlyEmployee has a function named calculate_the_hourly_income to calculate
the income of an employee for the actual number of hours he or she worked. One hour income is Rs. 150
Similarly, PermanentEmployee class has function named calculate_the_income to calculate the income of an employee that gets paid the salary for exact 240 hours, no matter how many actual hours he or she worked. Again, one hour salary is Rs. 150.
Implement all class definitions with their respective constructors to initialize all data members and functions to compute the total income of an employee. In the main() function, create an instance of both classes (i.e. HourlyEmployee and PermanentEmployee) and test the working of functions that calculate total income of an employee
Question no 2:-
Consider a class BankAccount that has
Two attributes i.e. accountID and balance and
A function named balanceInquiry() to get information about the current amount in the account
Derive two classes from the BankAccount class i.e. CurrentAccount and the SavingsAccount. Both classes (CurrentAccount and SavingsAccount) inherit all attributes/behaviors from the BankAccount class. In addition, followings are required to be the part of both classes
Appropriate constructors to initialize data fields of base class
A function named amountWithdrawn(amount) to withdraw certain amount while taken into account the following conditions
o While withdrawing from current account, the minimum balance should not decrease Rs. 5000
o While withdrawing from savings account, the minimum balance should not decrease Rs. 10,000
amountDeposit(amount) to deposit amount in the account
In the main() function, create instances of derived classes (i.e. CurrentAccount and SavingsAccount) and invoke their respective functions to test their working
Answer:
here you go ,could only do Question 2.try posting question 1 seperately maybe someone else can also try to help
Explanation:
Question 2.
#include <iostream>
using namespace std;
// class BankAccount
class BankAccount{
// instance variables
private:
int accountID;
int balance;
public:
// constructor
BankAccount(int accountID, int balance){
this->accountID = accountID;
this->balance = balance;
}
// getters and setters
void setAccoutnId(int accountID){
this->accountID = accountID;
}
int getAccountId(){
return accountID;
}
void setBalance(int balance){
this->balance = balance;
}
int balanceInquiry(){
return balance;
}
};
class CurrentAccount : public BankAccount{
public:
// constructor
CurrentAccount(int accountID, int balance):BankAccount(accountID,balance){
}
// function amount to withdraw
void amountWithdrawn(int amount){
setBalance(balanceInquiry()-amount);
}
// function to deposit amount
void amountDeposit(int amount){
setBalance(balanceInquiry()+amount);
}
};
class SavingsAccount : public BankAccount{
public:
// constructor
SavingsAccount(int accountID, int balance):BankAccount(accountID,balance){
}
// function amount to withdraw
void amountWithdrawn(int amount){
setBalance(balanceInquiry()-amount);
}
// function to deposit amount
void amountDeposit(int amount){
setBalance(balanceInquiry()+amount);
}
};
int main()
{
// calling function of Current Account
cout<<"Current Account : "<<endl;
CurrentAccount current(122,100000);
current.amountWithdrawn(10000);
cout<<"Your balance after withdraw : ";
cout<<current.balanceInquiry()<<endl;
current.amountDeposit(30000);
cout<<"Your balance after deposit : ";
cout<<current.balanceInquiry()<<endl;
cout<<endl<<endl;
// calling function of Savings Account
cout<<"Savings Account : "<<endl;
SavingsAccount saving(125,80000);
saving.amountWithdrawn(5000);
cout<<"Your balance after withdraw : ";
cout<<saving.balanceInquiry()<<endl;
saving.amountDeposit(20000);
cout<<"Your balance after deposit : ";
cout<<saving.balanceInquiry();
return 0;
}
1 punto
8.- Consiste en la transformación de
insumos o materias primas en
productos y servicios, por medio del
uso de recursos físicos, tecnológicos,
humanos, agrícolas, etc. Según su
entorno o contexto social. *
O a
a) Proyecto técnico
O b) Innovación tecnológica
O c) Proceso productivo
O d) Cambio técnico
Otros:
Answer:
c Proceso productivo
Explanation:
What best determines whether a borrower's interest rate on an adjustable rato loan goes up or down?
a fixed interest rate
a bank's finances
a market's condition
a persons finances
It should be noted that term that best determines whether a borrower's interest rate on an adjustable ratio loan goes up or down is market's condition.
This is because, Market conditions helps to know the state of an industry or economy, and this will helps to get the necessary information about borrower's interest rate on an adjustable ratio loan.
Therefore, option C is correct.
Learn more about Market conditions at:
https://brainly.com/question/11936819
Answer:c
Explanation:
What is the full form of HTML?
Answer:
Hyper text mark up language. is the full form of HTML
hope it helps
stay safe healthy and happy.Answer:
Hyper text markup language
10. Created by Tomohiro Nishikado in 1978, which game is considered the first shooter on the market?
a) Pong
b) Space Invaders
c) Dark Shooters
d) Space Monsters
Answer:
B.
Explanation:
Space Invaders
2. Many successful game companies have adopted this management approach to create successful and creative video games.
a) Creating a creative and fun workspace for employees
b) Offering free lunches and snacks.
c) Having a good design idea to start with.
d) Having enough material and human resources to work with.
Answer:
Having a good design idea to wotk with
Explanation:
When it comes to having certain sales skills as a hotel manager, being able to really hear, learn about, and show customers that the products/services you offer will meet their needs is a vital skill to have. When you show customers that you truly hear their needs, what sales skill are you practicing?
active listening
product knowledge
communication
confidence
Answer:
Communication
Explanation:
The ability to communicate clearly when working with customers is a key skill because miscommunications can result in disappointment and frustration. The best customer service professionals know how to keep their communications with customers simple and leave nothing to doubt.
16. The Nintendo Entertainment System (NES) saw its sales skyrocket as a result of the launch of which of the following games?
a) Pac-Man
b) Super Mario Bros
c) The Legend of Zelda
d) Popeye
Answer:
Super Mario bros
Explanation:
Write a program in Python that:
- Reads in the data in the file given, Sets up the appropriate classes/attributes/methods, Assigns definitions to each category, Prints out the report for all instances in the input file
Setting up the data:
Month name, Number of days in the month, Market name, Category name, Category definition, Store name, Store type, brand name, sales
The output should have 10 lines or sets of lines. The output will look like this:
For the month of April, Charmin Bath Tissue within Jewel Food stores had sales of $ 68 in the Chicago market for a market share of 52
For the month of April, Charmin Bath Tissue within Jewel Food stores had sales of $ 62 in the Chicago market for a market share of 47
File contents are in .csv file (excel) and were copied and pasted below:
April 30 Chicago Bath Tissue Jewel Food Charmin 68
June 30 Chicago Bath Tissue Jewel Food Charmin 74
April 30 Chicago Bath Tissue CVS Drug Charmin 96
June 30 Chicago Bath Tissue CVS Drug Charmin 33
April 30 Chicago Bath Tissue Jewel Food Scott 62
June 30 Chicago Bath Tissue Jewel Food Scott 87
April 30 Chicago Bath Tissue CVS Drug Scott 98
June 30 Chicago Bath Tissue CVS Drug Scott 39
April 30 Chicago Bath Tissue Marianos Food Charmin 85
June 30 Chicago Bath Tissue Marianos Food Charmin 20
Answer:
Explanation:
The following code is written in Python. It is a function that takes in the location of the csv file. Reads it line by line and ouputs the desired statement as seen in the example output provided in the question. The data does not provide the market share value to add to the statement so it was left blank.
from csv import reader
def printCSV(csv_file):
with open(csv_file, 'r') as read_obj:
csv_reader = reader(read_obj)
for row in csv_reader:
print(
"For the month of " + row[0] + ", " + row[7] + " " + row[3] + " " + row[4] + " within " + row[5] + " " +
row[6] + " stores had sales of $ " + row[8] + " in the " + row[2] + " market for a market share of ")
Consider the following code:
val = 50
def example():
val = 15
print (val)
print (val)
example)
print (val)
What is output?
1.
2.
3.
I got you bro the answer is 50, 15, 5
A program contains the following prototype:
int cube( int );
and function:
int cube( int num )
{
return num * num * num;
}
Which of the following is a calling statement for the cube function that will cube the value 4 and save the value that is returned from the function in an integer variable named result (assume that the result variable has been properly declared)?
a. cube( 4 );
b. cube( 4 ) = result;
c. result = cube( int 4 );
d. result = cube( 4 );
Answer:
d. result = cube(4);
Explanation:
Given
Prototype: int cube(int num);
Function: int cube(int num) { return num * num * num; }
Required
The statement to get the cube of 4, saved in result
To do this, we have to call the cube function as follows:
cube(4);
To get the result of the above in variable result, we simply assign cube(4) to result.
So, we have:
result = cube(4);
Jorge necesita saber a cuantos grados Fahrenheit esta la temperatura, pero el servicio meteorológico la indica
en grados centígrados, ayúdale a resolverlo. Formula F=(9/5*C) +32
·HACERLO EN ALGORITMO
Answer:
Eso es fácil hermano de matemáticas. Solo haces 9/5 veces c = 18/25 + 32 = 67
Explanation:
How to connect on phpmyadmin?plss
Open your browser and go to localhost/PHPMyAdmin or click “Admin” in XAMPP UI. Now click Edit privileges and go to Change Admin password, type your password there and save it. Remember this password as it will be used to connect to your Database.
hope this helps!
4. The concept of high score was first made popular in which of the following games?
a) Pong
b) Space Invaders
c) Pac-Man
d) Magnavox Odyssey
Indicate whether the statement is True or False (Choose FIVE only)
Answer:
its false
Explanation:
because we use it always
write c++ code to find the sum of all natural no from n to 1 using do while loop
Answer:
#include
using namespace std;
int main(){
int n, sum=0;
cout<<"Enter the value of n(should be a positive integer): ";
//Storing the input integer value into the variable n
cin>>n;
/* If user enters value of n as negative then display an
* error message to user that the value of n is invalid
*/
if(n<=0){
cout<<"Invalid value of n";
}
else{
// We are using while loop to calculate the sum
int i=1;
while(i<=n){
sum=sum+i;
i++;
}
cout<<"Sum of first n natural numbers is: "<<sum;
}
return 0;
}
Explanation: