Answer:
1) A kiosk are small platforms that can be used for obtaining information and programming relate to entertainment, transportation, commerce, applications, and other areas. A kiosk is located in busy business areas. With Kiosks, one is able to get answers to important information such as service locations.
2) Enterprise computing is the use of information technologies and computing in organizational setting. Enterprise computing provides improved data security
3) Natural language processing is the artificial intelligence concept that deals with the interaction between man and computer by use of natural language. With natural language processing, it is possible to interact with artificial intelligence application in the same manner we interact with a real person
4) Robotics is concerned with the design construction, and operation of robots. It involves the collaboration of computer science and engineering fields. Robotics provide 24 hours assistance including in inhuman conditions such as low oxygen
5) Virtual Reality (VR) is the creation of easily believable simulation of real life by means of computer technology. With virtual reality, one is able to practice practical trade skills in their living room
Explanation:
Answer:
import numpy as np
word = input("Enter a word: ")
acc = []
with open("Downloads/record-collection.txt", "r") as file:
lines = file.readlines()
for line in lines:
if word in line:
line = line.strip()
acc.append(int(line[0]))
if np.mean(acc) >= 2:
print(f"The word {word} is a positive word")
print(f"{word} appeared {len(acc)} times")
print(f"the review of the word {word} is {round(np.mean(acc), 2)}")
else:
print(f"the word {word} is a negative word with review\
{round(np.mean(acc), 2)}")
Explanation:
The python program gets the text from the review file, using the user input word to get the definition of reviews based on the word, whether positive or negative.
The program uses the 'with' keyword to open the file and created the acc variable to hold the reviews gotten. The mean of the acc is calculated with the numpy mean method and if the mean is equal to or greater than 2 it is a positive word, else negative.
Virtualization. To enable easy deployment and scalability, it should be easy to spin up new machines on request. Virtualization offers the possibility to clone operating systems and deploy solutions independent of the actual hardware.
Answer:
a defect in a software program that prevents it from working correctly
Explanation:
got it right on edge2021
Answer:
The program to this question can be given as:
Program:
#include <iostream> //header file
using namespace std; //using name space.
int CountCharacters(char userChar,string userString) //define function.
{
int count = 0; //define variable
for (int i=0;i<userString.length();i++) //loop
if (userString[i]==userChar) //if block
count++; //increment the value.
return count; //return value.
}
int main() //main method.
{
string userString= "Clanguage"; //define variable and assign value.
char userChar = 'a'; //define variable and assign value.
cout << CountCharacters(userChar,userString); //calling function and print value.
return 0;
}
Output:
2
Explanation:
- In the above C++ programming language program we define a function that is "CountCharacters". Inside function parameters, we pass two parameters that are "userChar and userString". The userChar is a char variable that holds single character value and userString is a string variable that holds a string value.
- In the function, we define an integer variable that is "count". This variable counts the match value and returns its value.
- To counts values, we define a loop in a loop we use if statement that counts the value that how many time it occurs in a string value and return its value.
- In the main method, we define these variables ("userChar and userString") and assign values that are "a and Clanguage " and call the function and print function return value.