1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
hjlf
3 years ago
6

What are the words that make up a high-level programming language called?

Computers and Technology
1 answer:
DedPeter [7]3 years ago
4 0

Answer:

just ask your teacher

Explanation:

You might be interested in
What is meaning of geo and bio​
Aleks [24]

Answer:

GEO. genetically enhanced organism. Medical, Health, Healthcare.

The word biology is derived from the greek words /bios/ meaning /life/ and /logos/ meaning /study/ and is defined as the science of life and living organisms. An organism is a living entity consisting of one cell e.g. bacteria, or several cells e.g. animals, plants and fungi.

Hope it helps

Explanation:

5 0
3 years ago
Read 2 more answers
For a list of numbers entered by the user and terminated by 0. Write a program to find the sum of the positive numbers and the s
Mumz [18]

Answer:

Following are the program in the Python Programming Language

#set variables to 0

positive_sum=0

negative_sum=0

#print message

print("Enter 0 to terminate")

#set the while loop

while(True):

 #get input from the user

 num=float(input("Enter positive or negative numbers: "))

 #set if statement to check condition

 if(num==0):

   break

 elif(num>0):

   positive_sum+=num

 else:

   negative_sum+=num

#print output with message

print()

print("sum of positive numbers: ", positive_sum)

print("sum of negative numbers: ", negative_sum)

<u>Output:</u>

Enter 0 to terminate

Enter positive or negative numbers: 1

Enter positive or negative numbers: 3

Enter positive or negative numbers: 5

Enter positive or negative numbers: -7

Enter positive or negative numbers: -2Enter positive or negative numbers: 0

sum of positive numbers:  9.0

sum of negative numbers:  -9.0

Explanation:

Here, we set two integer data type variables "positive_sum", "negative_sum" and initialize to 0.

Then, we set the while infinite loop inside the loop.

  • Set a variable "num" and get input from the user in it.
  • Set the if conditional statement and check condition the variable "num" is equal to 0 then, loop will terminate.
  • Set the elif statement and check condition the variable "num" is greater than 0 then, add that input and store in the variable "positive_sum"
  • Otherwise, add that input and store in the variable "negative_sum".

Finally, we print the output with the message.

6 0
4 years ago
Write a console-based employee management system through binary File Handling (In order to observe data security, we use binary
dangina [55]

Answer:

#include <fstream>

#include <iostream>

#define FILE_N "employee.dat"

using namespace std;

class Employee {

private :  

int  empID;

char  empName[100] ;

int  salary;

public  :

void readEmployeeDetails(){

 cout<<" PLEASE SUBMIT EMPLOYEE DETAILS"<<endl;

 cout<<"INPUT EMPLOYEE ID : " ;

 cin>>empID;

 cin.ignore(1);

 cout<<"ENTER EMPLOYEE NAME: ";

 cin.getline(empName,100);

 cout<<"ENTER EMPLOYEE SALARY : ";

 cin>>salary;

}

void increasesalary(){

 cout<<" Increment Salary"<<endl;

 cout<<"ENTER INCREMENT SALARY : ";

 int sal;

 cin>>sal;

 salary=salary + sal;

}

void displayEmployee(){

 cout<<"EMP ID: "<<empID<<endl

  <<"EMP NAME: "<<empName<<endl

  <<"SALARY: "<<salary<<endl;

}

};

int main(){

   int options;

   

LOOP:cout<<"Enter the Options:";

   cin>>options;

if(options == 1)

{

Employee emp;

emp.readEmployeeDetails();

fstream file;

file.open(FILE_N,ios::out|ios::binary);

if(!file){

 cout<<"There is an Error found while creating file...\n";

 return -1;

}

 

file.write((char*)&emp,sizeof(emp));

file.close();

cout<<"Date has been saved in the file.\n";

goto LOOP;

}

else if(options == 2)

{

Employee emp;    

fstream file;

file.open(FILE_N,ios::in|ios::binary);

if(!file){

 cout<<"There is an error while opening file...\n";

 return -1;

}

 

if(file.read((char*)&emp,sizeof(emp))){

  cout<<endl<<endl;

  cout<<"Data being discovered from the file..\n";

  emp.displayEmployee();

}

else{

 cout<<"There is an error while reading the file...\n";

 return -1;

}

goto LOOP;

}

else

{

  Employee emp;

emp.increasesalary();

fstream file;

file.open(FILE_N,ios::out|ios::binary);

if(!file){

 cout<<"Error found while creating file...\n";

 return -1;

}

 

file.write((char*)&emp,sizeof(emp));

file.close();

cout<<"Date saved inside the file.\n";

goto LOOP;

}

return 0;

}

Explanation:

The above program is in C++. It creates a class, assign it value, and then work on three option.

1. Press 1 to ADD AN EMPLOYEE.

2. Press 2 to DISPLAY FILE DATA.

3. Press 3 to INCREASE EMPLOYEE SALARY.

Rest is as shown in program.

8 0
4 years ago
Write a function called sum_first_integers that takes a single positive integer parameter. The function should also return a pos
sashaice [31]

Answer:

def sum_first_integers(n):

       if n <= 0 or type(n) != int:

               raise ValueError('Value must be a positive integer greater than 0')

       total = 0

       for num in range(1, n+1):

               total += num

       return total

Explanation:

The above function was written in Python, the first if statement is for validation purposes and it ensures that the argument passed is a positive integer. If it is not, a ValueError is raised

We leveraged on Python's range function, which accepts three arguments although we passed in two arguments. The first argument is where the range function will start from and the second is where it will end. If we want the range function to stop at value n, then the argument has to be n+1(This is because machine starts counting numbers from 0) and the last argument is the step in which the increment is done. If no value is passed to this argument, Python assumes the value to be 1 which is what is done in this case.

Hence range(1, 5) = (1,2,3,4) and range (2, 10, 2) = 2,4,6,8

6 0
4 years ago
In a computer, ___ is one or more sets of chips that store data and/or program instructions, either temporarily or permanently.
alekssr [168]
<span>A chipset is a set of chips within a computer that stores data and program instructions. It often contains multiple chips which can store many different kinds of data for storage and retrieval.</span>
5 0
3 years ago
Other questions:
  • The logical view Select one: a. shows how data are organized and structured on the storage media. b. presents an entry screen to
    7·1 answer
  • Netbooks, also called mini notebooks or subnotebooks, are a subgroup of desktops.<br> True<br> False
    12·1 answer
  • def getCharacterForward(char, key): """ Given a character char, and an integer key, the function shifts char forward `key` steps
    9·1 answer
  • Write down the pseudo code of a program that calculates the Body Mass Index (BMI) of
    9·1 answer
  • Assume that price is an integer variable whose value is the price (in US currency) in cents of an item. Write a statement that p
    8·1 answer
  • What are the chances that we are living in a simulation? (Percentage)
    5·2 answers
  • What does XD mean? I keep seeing people say it and I dont know what it means
    6·2 answers
  • Mr. O would like to purchase a new computer for his home business. Mr. O's current computer runs very slow when he is running e-
    5·2 answers
  • You need to update your router settings, so you log into the administration panel, Whose Internet protocol (IP) address is 192.1
    5·1 answer
  • This was the template given for my assignment: class Login:
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!