Answer:
Explanation:
The following code is written in Python. The tax calculator program was not provided, therefore I created a tax calculator that takes in the total price as an input and adds a 7% tax to it. Then it uses the round() function to make sure that the total is outputted as a decimal with two decimal digits at most.
def taxCalculator(price):
total = price * 1.07
formattedTotal = round(total, 2)
return formattedTotal
You are hired as an IT consultant for the government owned mobile operating company, Teletalk. Based on the following scenario, make a report for the decision makers to resolve the stated problems.
Despite aggressive campaigns to attract customers with lower call rates and internet packages, Teletalk has been losing a large number of its subscribers (users). Management wants to know why so many customers are leaving Teletalk and what can be done to attract them back. Are customers deserting because of poor customer service, uneven network coverage, wireless service charges, or competition from other mobile operators with extra services (GP/BL)? How can the company use information systems to help find the answer? What management decision could be made using information from these systems? What competitive strategy Teletalk can develop using information systems and how?
Answer:
An IT consulting report may be a transcript created via an IT professional that addresses all the possible aspects of an enterprise or a corporation. It is often an aggressive analysis report, Project reputation report, Business Plan report, or a Supply Chain Model file
Let's see how to write this kind of report
(1) Introduction.
(2) Point out the problems.
(3) Addressing the problems.
(4) business model and competitive analysis.
(5) Conclusion.
Explanation:
Teletalk may be a government telecommunication company. it's been going out of the marketplace for quite a little bit of time and is thanks to a scarcity of human resources and innovative applications within the field.
The company uses outdated Customer Management Systems (CMS) now so as to research potential customers and gather information about them. they need to be battling retaining customers after a brief period of your time. Their customer service isn't fair and therefore the customers aren't satisfied with the service provided by the corporate.
In order to function well, they need to implement enterprise resource planning ( ERP) data systems.
A data system is everything starting from Human resources to hardware and software. they will be applied everywhere from Customer Retainment and Engagement they're termed as Customer Management Systems and if it's wont to Business Model of any organization then it's referred to as Enterprise Resource Planning Systems (ERP).
By incorporating information systems in teletalk there is often a performance improvement in Sales, Management, Technology, and D-S (Demand-Supply Model).
All these are going to be an excellent advantage to teletalk so teletalk should anticipate innovating the present system with a more reliable and efficient one
According the SDLC phases, which among these activities see a substantial amount of automation initiatives?
A code generation
B release build
C application enhancement
D test case generation
E incident management
Answer:
d. test case generation
Explanation:
Testing should be automated, so that bugs and other errors can be identified without a human error and lack of concentration.
The System Development Life Cycle (SDLC) phase that has seen a substantial amount of automation is the A. code generation.
The main phases of the SDLC include the planning, analysis, design, development, testing, implementation, and maintenance phases.Using automation for the code generation will help eliminate human errors and increase efficiency.The code generation phase still requires some human input to ensure that user requirements are completely met.Thus, while automation will be useful with all the SDLC phases, substantial amount of automation initiatives have been seen with the code generation phase.
Learn more about SDLC phases at https://brainly.com/question/15074944
State the Data types with two examples each
Answer:
A string, for example, is a data type that is used to classify text and an integer is a data type used to classify whole numbers. When a programming language allows a variable of one data type to be used as if it were a value of another data type, the language is said to be weakly typed. Hope it help's! :D
write a function copy(s, n) that takes as inputs a string s and an integer n, and that uses recursion to create and return a string in which n copies of s have been concatenated together. python
Answer:
Following are the method to the given question:
def copy(s, n):#defining a method copy that takes two parameters
if n <= 0:#definig if to compare n value is less than equal to 0
return ''#return space
else:#definig else block
return s + copy(s, n-1)#use recursive method that return value
print(copy("by",2))#calling method and print value
print(copy("ta",2))#calling method and print value
print(copy("good by ",2))#calling method and print value
Output:
byby
tata
good by good by
Explanation:
In this code, a method "copy" is declared that takes two parameters that are "s and n" inside the method a conditional statement is used which can be defined as follows.
In the if block is used "n" variable that checks n value which is less than equal to 0 if it is true it will return a space value.
In the else block it use the recursive method that returns a value which is a copy of s that is concatenated together.
Rosa has received reports by several users that one of the Linux servers is no longer accessible. She is able to remote into the server using a management IP address separate from the one that users would be directed to via a DNS lookup. Which commands, once connected to the server, should she use to start troubleshooting the issue?
Answer: hello options related to your question is missing attached below are the missing options
answer
ping ( b )
Explanation:
The command she should use once she is connected to the server, should be ping command (127.0.0.1) .
This is because this command is used to check if the network is working appropriately and also to test client and server connection on the network.
What are the trinity of the computer system
Answer:
I think the answers are input, processes, output
define natural language?
Answer: Natural Language is a language that is the native speech of a people. A language that has developed and evolved naturally, through use by human beings, as opposed to an invented or constructed language, as a computer programming.
Hope this helps!
Write a program that first gets a list of integers from input. The input begins with an integer indicating the number of integers that follow. Then, get the last value from the input, which indicates a threshold. Output all integers less than or equal to that last threshold value. Assume that the list will always contain fewer than 20 integers.
Answer:
Ex: If the input is:
5 50 60 140 200 75 100
the output is:
50 60 75
The 5 indicates that there are five integers in the list, namely 50, 60, 140, 200, and 75. The 100 indicates that the program should output all integers less than or equal to 100, so the program outputs 50, 60, and 75.
For coding simplicity, follow every output value by a space, including the last one.
Such functionality is common on sites like Amazon, where a user can filter results.
#include <iostream>
#include <vector>
using namespace std;
int main() {
/* Type your code here. */
return 0;
}
What is the value of 25 x 103 = ________?
Answer:
2575
heres coorect
Answer:
2575
Explanation:
you just multiply.
Give your own example of a nested conditional that can be modified to become a single conditional, and show the equivalent single conditional.
Answer:
following are the program to the given question:
Program:
x = 0#defining an integer variable that holds a value
if x < 0:#defining if that checks x less than 0
print("This number ", x, " is negative.")#print value with the message
else:#defining else block
if x > 0:#defining if that checks x value greater than 0
print(x, " is positive")#print value with message
else:#defining else block
print(x, " is 0")#print value with message
if x < 0:#defining another if that checks x less than 0
print("This number ", x, " is negative.")
elif (x > 0):#defining elif block that check x value greater than 0
print(x, " is positive")#print value with message
else:#defining else block
print(x, " is 0")#print value with message
Output:
Please find the attachment file.
Explanation:
In this code, an x variable is defined which holds a value that is "0", in the next step nested conditional statement has used that checks the x variable value and uses the print method that compares the value and prints its value with the message.
In another conditional statement, it uses if that checks x value less than 0 and print value with the negative message.
In the elif block, it checks x value that is greater than 0 and prints the value with the positive message, and in the else block it will print the message that is 0.
Read the argument below and determine the underlying principle that was used to come to the conclusion presented: It is recommended that your diet should include at least 3-5 servings of vegetables a day. A serving of vegetables can be 1 cup of raw leafy greens, 1/2 cup of other cooked or raw vegetables, or 3/4 cup of vegetable juice. A diet that has less than 3-5 servings of vegetables a day may lead to health problems. Which other argument uses the same underlying principle as the argument above?
a. Driving a car can be dangerous, but if you learn how to properly drive a car then you can significantly reduce the risk involved,
b. Driving a car can be dangerous, therefore it's recommended that people not drive.
c. Driving a car can be dangerous and that is why states require that drivers pass a test to be licensed to drive.
Answer:
Hence option a is the correct one. Driving a car can be dangerous, but if you learn how to properly drive a car then you can significantly reduce the risk involved,
Explanation:
a) Driving a car can be dangerous, but if you learn how to properly drive a car then you can significantly reduce the risk involved.
As it belongs How to be a good car driving without risk as equivalent diet concept as a base.
Less than 3-5 servings of vegetables a day not taken equivalent car driving dangerous if no proper driving.
Hence option 1 is valid.
b) is wrong as it has negative feedback regarding the base case.
c) is a suggestion for the strong part which is also the wrong option
Mark is flying to Atlanta. The flight is completely full with 200 passengers. Mark notices he dropped his ticket while grabbing a snack before his flight. The ticket agent needs to verify he had a ticket to board the plane. What type of list would be beneficial in this situation?
Answer:
The list that would be helpful in this situation would be a list of people in the airport
Hope This Helps!!!
A junior network administrator has used the wrong cable type to connect his or her computer to the administrative port on a router and cannot establish a terminal session with the device. What layer of the OSI reference model does this problem appear to reside at
Answer: Application Layer
Explanation: trust
rules used in naming variables in object oriented programming
Answer:
Explanation: Name your variables based on the terms of the subject area, so that the variable name clearly describes its purpose.
What does the AVERAGE function calculate? the total sum of a list of values the arithmetic mean of a list of values the total number of values in a list the percentage of values in a list
Answer:
B) the arithmetic mean of a list of values
Explanation:
on Edge
The Average function calculates the arithmetic mean of a list of values. Therefore, option B is the correct option.
What is the average?In its most general definition, an average can be considered as the representative number or figure from the whole list. The average of a list containing multiple values is obtained by adding all the values and dividing them up by the total number of values.
The ultimate objective of calculating the average is to discover the value that represents the whole list. Average is also known as mean, and it works as a central value in the list, which is comprehensive in nature. It works as an approximate or rough estimate, which helps us in making decisions in daily life.
Thus, the average function calculates the arithmetic mean of a list of values. Therefore, option B is the correct option.
To learn more about the average, visit the link below:
https://brainly.com/question/11265533
#SPJ2
Can anyone code this ?
Answer:
simple Reflex action it is the simplest from of reflex and does not depen on learning
Wilh the aid of the the diagram using an algorithm to calculate table 2 of multiplication
Answer:
See attachment for algorithm (flowchart)
Explanation:
The interpretation of the question is to design a flowchart for times 2 multiplication table (see attachment for the flowchart)
The explanation:
1. Start ---> Start the algorithm
2. num = 1 ---> Initializes num to 1
3. while num [tex]\le[/tex] 12 ---> The following loop is repeated while num is less than 12
3.1 print 2 * num ----> Print the current times 2 element
3.2 num++ ---> Increment num by 1
4. Stop ---> End the algorithm
A business should choose the platform as a service (PaaS) cloud model when: a. it designs its own applications but doesn't customize the operating system b. it doesn't need any operating system c. it doesn't design its own applications and doesn't customize the operating system d. it designs its own applications and customizes the operating system e. it doesn't design its own applications but customizes the operating syste
Answer:
a. it designs its own applications but doesn't customize the operating system.
Explanation:
Cloud computing can be defined as a type of computing that requires shared computing resources such as cloud storage (data storage), servers, computer power, and software over the internet rather than local servers and hard drives.
Generally, cloud computing offers individuals and businesses a fast, effective and efficient way of providing services.
Cloud computing comprises of three (3) service models and these are;
1. Infrastructure as a Service (IaaS).
2. Software as a Service (SaaS).
3. Platform as a Service (PaaS).
Platform as a Service (PaaS) refers to a type of cloud computing model in which a service provider makes available a platform that allow users (software developers) to build code (develop), run, store information in a database and manage applications over the internet.
The main purpose of a Platform as a Service (PaaS) is to provide an enabling environment for software developers to code without having to build and maintain complex infrastructure needed for the development, storage and launching of their software applications.
Simply stated, PaaS makes provision for all of the software and hardware tools required for all the stages associated with application development over the internet (web browser).
Some of the advantages of Platform as a Service (PaaS) is that, it avails software developers with enough convenience as well as simplicity, service availability, ease of licensing and reduced costs for the development of software applications.
Basically, platform as a Service (PaaS) providers (vendors) usually provide their clients (software developers) with server and data storage, operating system, data center, networking resources, etc., while the software developers design, deploy and manage their software applications.
Hence, a business should choose the platform as a service (PaaS) cloud model when it designs its own applications but doesn't customize the operating system.
The Fibonacci sequence begins with 0 and then 1 follows. All subsequent values are the sum of the previous two, for example: 0, 1, 1, 2, 3, 5, 8, 13. Complete the fibonacci() method, which takes in an index, n, and returns the nth value in the sequence. Any negative index values should return -1.
Ex: If the input is: 7
the out put is :fibonacci(7) is 13
import java.util.Scanner;
public class LabProgram {
public static int fibonacci(int n) {
/* Type your code here. */
public static void main(String[] args) {
Scanner scnr = new Scanner(System.in);
int startNum;
System.out.println("Enter your number: ");
startNum = scnr.nextInt();
System.out.println("fibonnaci(" + startNum + ") is " + fibonacci(startNum));
}
}
You could use recursion to write java method for computing fibonacci numbers. Though it will be inefficient for n > about 50, it will work.
public static int fibonacci(int n) {
if (n < 0) { return -1; }
if (n < 2) { return n; }
else { return fibonacci(n-1)+fibonacci(n-2); }
}
Hope this helps.
The current term of a Fibonacci series is derived by adding the two previous terms of its sequence; and the first two terms are 0 and 1.
The code segment (without comments) that completes the program is as follows:
int T1 = 0, T2 = 1, cT;
if (n < 0){
return -1; }
for (int i = 2; i <= n; i++) {
cT = T1 + T2;
T1 = T2;
T2 = cT; }
return T2;
With comments (to explain each line)
/*This declares the first term (T1), the second term (T2) and the current term (CT).
T1 and T2 are also initialized to 0 and 1, respectively
*/
int T1 = 0, T2 = 1, cT;
//This returns -1, if n is negative
if (n < 0){ return -1;
}
//The following iterates through n
for (int i = 2; i <= n; i++) {
//This calculates cT
cT = T1 + T2;
//This passes T2 to T1
T1 = T2;
//This passes cT to T2
T2 = cT;
}
//This returns the required term of the Fibonacci series
return T2;
At the end of the program, the nth term of the series would be returned to the main method for output.
Read more about Fibonacci series at:
https://brainly.com/question/24110383
If you could design your own home, what kinds of labor-saving computer network or data communications devices would you incorporate
Answer:
Access Points, Home Server, and Virtual Assistant/IOT connected devices
Explanation:
There are three main things that should be implemented/incorporated into your design and these are Access Points, Home Server, and Virtual Assistant/IOT connected devices. Access Points for Ethernet, and HDMI should be located in various important walls near outlets. This would allow you to easily connect your devices without having to run cables around the house. A home server will allow you to easily access your data from multiple devices in your home, and if you connect it to the internet you can access that info from anywhere around the world. Lastly, would be a virtual assistant with IOT connected devices. This would allow you to control various functions of your home with your voice including lights, temperature, and locks.
design a relational database in EER for bike helmets and their reviews. a bike helmet has a name and color attributes. a bike company has its name (primary key) and location attributes
Answer:something you gotta do on your own
Explanation:
EER diagrams are essentially an expanded form of entity-relationship (ER) diagrams. EER models are useful tools for creating high-level model databases. By carefully examining the qualities and limitations, you may plan databases more thoroughly thanks to their improved features.
What design a relational database in EER?Set up a relationship table. Include the main keys of all involved Entities in the table as fields with the appropriate data types. Add each attribute as a table field if the relationship has any. Establish a primary key by combining the primary keys of all involved entities.
The modeling interface in MySQL Workbench is absolutely dependent on Enhanced Entity-Relationship (EER) diagrams. The relationships between the tables in your model are depicted visually in EER diagrams.
Therefore, The related diagram displays modifications performed using the Model Editor.
Learn more about relational database here:
https://brainly.com/question/13262352
#SPJ2
Write a program that opens the salesdat.txt file and processes it contents. The program should display the following per store:
The total sales for each week. (Should print 5 values - one for each week). The average daily sales for each week. (Should print 5 values - one for each week).
The total sales for all the weeks. (Should print 1 value)
The average weekly sales. (Should print 1 value)
The week with the highest amount in sales. (Should print 1 week #)
The week with the lowest amount in sales. (Should print 1 week #)
The file contains the dollars amount of sales that a retail store made each day for a number of weeks. Each line in the file contains thirty five numbers, which are sales numbers for five weeks. The number are separated by space. Each line in the file represents a separate store.
//FileIO.java
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
public class FileIO {
//Franchise readData(String filename)
public static void main(String[] args) {
try {
FileReader file = new FileReader("Salesdat.txt");
BufferedReader buff = new BufferedReader(file);
boolean eof = false;
while (!eof) {
String line = buff.readLine();
if (line == null)
eof = true;
else
System.out.println(line);
}
buff.close();
} catch (IOException e) {
System.out.println("Error -- " + e.toString());
}
}
}
//Store.java
public class Store {
private float salesbyweek[][];
Store() {
salesbyweek = new float[5][7];
}
//getter and setters
//setsaleforweekdayintersection(int week, int day, float sale)
public void setsaleforweekdayintersection(int week, int day, float sale){
salesbyweek[week][day]=sale;
}
//float [] getsalesforentireweek(int week)
//float getsaleforweekdayintersection(int week, int day)
//businessmethod
//a. totalsalesforweek
//b. avgsalesforweek
//c. totalsalesforallweeks
//d. averageweeklysales
//e. weekwithhighestsaleamt
//f. weekwithlowestsaleamt
//analyzeresults //call a through f
//print()
}
//Franchise.java
public class Franchise {
private Store stores[];
public Franchise(int num) {
stores = new Store[num];
}
public Store getStores(int i) {
return stores[i];
}
public void setStores(Store stores, int i) {
this.stores[i] = stores;
}
}
//Driver.java
public class Driver {
public static void main(String[] args) {
}
}
Answer:
I'm going to try and help you with this question.
Explanation:
Just give me a few minutes.
Create a class named Employee. The class must contain member variables for the employee name and salary. It should contain getter methods for returning the name and salary. It should also contain setter methods for storing the name and salary. The class must include a constructor method for setting both the name and the salary. In addition, it should contain a toString() method.2- Create the client code to test the class Employee.
Answer:
Explanation:
The following code was written in Java. The code contains the Employee class which contains the two variables (name, salary), the constructor, getter and setter methods for both variables, and an overwritten toString method. It also contains a tester class with the main method inside and creates a Employee object and initializes it. Then it calls the toString method. The output can be seen in the attached image below. Due to technical difficulties I have added the code as a txt file below.
Write code that prints: Ready! firstNumber ... 2 1 Run! Your code should contain a for loop. Print a newline after each number and after each line of text. Ex: If the input is: 3 the output is: Ready! 3 2 1 Run!
Answer:
Explanation:
The following code is written in Java. It asks the user to enter the first number. Then it saves that number in a variable called firstNumber. It then uses that number to loop backwards from that number to 1 and goes printing out the countdown text. A test case has been created and the output can be seen in the attached image below.
import java.util.Scanner;
class Brainly {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
System.out.print("Enter First Number: ");
int firstNumber = in.nextInt();
System.out.println("Ready!");
for (int i=firstNumber; i>0; i--) {
System.out.println(i);
}
System.out.println("Run!");
}
}
In PyCharm, write a program that prompts the user for their name and age. Your program should then tell the user the year they were born. Here is a sample execution of the program with the user input in bold:What is your name? AmandaHow old are you? 15Hello Amanda! You were born in 2005.
Answer:
def main():
name = input("What is your name? ")
if not name == "" or "":
age = int(input("What is your age? "))
print("Hello " + name + "! You were born in " + str(2021 - age))
main()
Explanation:
Self explanatory
the development of modern computer system have been evolutionary, discuss this phenomena and further explain how current trends in computing would impact future computer systems develpoment
Answer: Why are there so many of these?
The modern computer system has been evolutionary. Modern computers have allowed for us to complete hard tasks rather easily. With modern computers, we are able to calculate advanced equations with the click of a button. Trends in computing like RTX can rapidly improve performance, rendering, and tons of other graphical heavy actions. In September of 2018, we got the first RTX card, now in 2021, RTX has become exponentially better than what it was in 2018. With the modern computers comes quantum computers. Quantum computing is estimated to be 100 million times faster than any modern computer. IBM, the company to make the first computer stated that we are in the decade of quantum computing. And who knows? Maybe quantum computing will come sooner rather than later.
Explanation:
You probably should modify this a little so you don't get in trouble. I researched each topic I put into this for about an hour so I hope this is what you need. If it isn't, please don't hesitate to tell me what I didn't add or what went wrong.
Have a good day :)
Write a program that defines an array of integers and a pointer to an integer. Make the pointer point to the beginning of the array. Then, fill the array with values using the pointer (Note: Do NOT use the array name.). Enhance the program by prompting the user for the values, again using the pointer, not the array name. Use pointer subscript notation to reference the values in the array.
Answer:
#include<iostream>
using namespace std;
int main()
{
int a[20],n;
int *p;
cout<<"\n enter how many values do you want to enter:";
cin>>n;
for(int i=0;i<n;i++)
{
cout<<"\n Enter the "<<i+1 <<"th value :";
cin>>*(p+i);
//reading the values into the array using pointer
}
cout<<"\n The values in the array using pointer is:\n";
for(int i=0;i<n;i++)
{
cout<<"\n (p+"<<i<<"): "<<*(p+i);
//here we can use both *(p+i) or p[i] both are pointer subscript notations
}
}
Output:
How many bits are there in two nibbles?
Answer:
8 bits
Explanation:
4 bits is 1 nibble
I'm using Visual Studio to make a grocery app for school that includes usernames and passwords. I'm given all the code then it tells me to use search arrays to implement two functions. They should return true if the username and password is found in the arrays. But i can't seem to get the function and arrays right. Below is the code and I'm supposed to implement the array in the two empty functions at the bottom. Would really appreciate some help here, thanks
Module Main
Friend blnLoggedIn As Boolean
Dim arrUsernames() As String = {"Admin", "Clerk", "Manager"}
Dim arrPasswords() As String = {"password", "password2", "password3"}
Sub Login(username As String, password As String)
blnLoggedIn = False
If VerifyUsername(username) And VerifyPassword(password) Then
'Find index for username
Dim userIndex As Integer
For loopIndex = 0 To arrUsernames.Length - 1
If arrUsernames(loopIndex) = username Then
userIndex = loopIndex
Exit For
End If
Next
'Check for password match
If arrPasswords(userIndex) = password Then
blnLoggedIn = True
Else
MessageBox.Show("Incorrect password.")
End If
End If
End Sub
Function VerifyUsername(username As String) As Boolean
End Function
Function VerifyPassword(password As String) As Boolean
End Function
End Module
Answer:
VB:
Public Function VerifyUsername(ByVal username As String) As Boolean
For positionInUsernameArray As Integer = 0 To arrUsername.Length - 1
If positionInUsernameArray = arrUsername.Length Then Exit For
If username = arrUsername(positionInUsernameArray) Then
Return True
Else
Continue For
End If
Next
Return False
End Function
Public Function VerifyPassword(ByVal password As String) As Boolean
For positionInUsernameArray As Integer = 0 To arrPassword.Length - 1
If positionInUsernameArray = arrPassword.Length Then Exit For
If password = arrPassword(positionInUsernameArray) Then
Return True
Else
Continue For
End If
Next
Return False
End Function
C#:
sealed class Main
{
internal bool blnLoggedIn;
string[] arrUsername = new string[] { "Admin", "Clerk", "Manager" };
string[] arrPassword = new string[] { "password", "password2", "password3" };
public void Login(string username, string passowrd)
{
blnLoggedIn = false;
if (VerifyUsername(username) && VerifyPassword(passowrd))
{
// Find index for username
int userIndex = 0;
for (int loopIndex = 0; loopIndex <= arrUsername.Length - 1; loopIndex++)
{
if (arrUsername[loopIndex] == username)
{
userIndex = Convert.ToInt32(loopIndex);
break;
}
else continue;
}
// Check for password match
if (arrPassword[userIndex] == passowrd)
blnLoggedIn = true;
else
MessageBox.Show("Incorrect password");
}
}
public bool VerifyUsername(string username)
{
for (int positionInUsernameArray = 0; positionInUsernameArray <= arrUsername.Length - 1; positionInUsernameArray++)
{
if (positionInUsernameArray == arrUsername.Length)
break;
if (username == arrUsername[positionInUsernameArray])
return true;
else continue;
}
return false;
}
public bool VerifyPassword(string password)
{
for (int positionInUsernameArray = 0; positionInUsernameArray <= arrPassword.Length - 1; positionInUsernameArray++)
{
if (positionInUsernameArray == arrPassword.Length)
break;
if (password == arrPassword[positionInUsernameArray])
return true;
else continue;
}
return false;
}
}
Explanation:
First I created a for loop with a "positionInUsernameArray" and singed it a value of 0. Next I stated while positionInUsernameArraywas less than or equal to arrUsername.Length - 1, positionInUsernameArraywould increment.
Once the base for loop was in place I created two if statements. The first if statement determines if positionInUsernameArray is equal to arrUsername.Length, if so, the for loop breaks and the method returns false. The second if statement determines if the parameter is equal to the position in the arrUsername array, if so, the method would return true, otherwise the for loop will restart.
For the "VerifyPassword" method, I used the same method as "VerifyUsername" just I changed the variable names.
Hope this helped :) If it didn't please let me know what happened so I can fix the code.
Have a good day!
You have a contactless magnetic stripe and chip reader by Square. What type of wireless transmission does the device use to receive encrypted data
Answer:
Near field communication (NFC)
Explanation:
Near field communication (NFC) can be defined as a short-range high radio-frequency identification (RFID) wireless communication technology that is used for the exchange of data in a simple and secure form, especially for electronic devices within a distance of about 10 centimeters.
Also, Near field communication (NFC) can be used independently or in conjunction with other wireless communication technology such as Bluetooth.
Some of the areas in which Near field communication (NFC) is used are confirmation of tickets at a concert, payment of fares for public transport systems, check-in and check-out in hotels, viewing a map, etc.
Assuming you have a contactless magnetic stripe and chip reader by Square. Thus, the type of wireless transmission that this device use to receive encrypted data is near field communication (NFC).