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
masha68 [24]
2 years ago
7

What are the 7 layers of cyberspace?​

Computers and Technology
1 answer:
frozen [14]2 years ago
6 0

Answer:

The OSI model's seven layers are the: Human Layer, Perimeter Layer, Network Layer, Endpoint Layer, Application Layer, Data Layer, and Mission Critical Layer . Each layer represents a different stage in network communication, from someone typing on a keyboard to the data your system uses for applications.

You might be interested in
How is prior video game experience related to Top Gun scores? Select the correct conlcusion. a. Surgeons who have played some vi
lianna [129]

Answer:

c. Surgeons who have done a lot of video gaming do better at the Top Gun program.

Explanation:

Video gaming is digital entertainment system that mimics real life or fiction action and sport events, controlled digitally by a user or player.

It gaming experience can be brain teasing and procedural. An individual with a prior knowledge of one game, can easily adapt to another and play better as long as the controls has being mastered. A surgeon with no prior knowledge in video gaming, would find it hard to play and would take a reasonable period of time to learn the game.

6 0
3 years ago
Python
xeze [42]

Answer:

Following are the function to the Python Programming Language.

#define a function to read or crates the list

def GetUserValues():

 my_list=[]

 n=int(input("Enter range: "))

 for i in range(n):

   my_list.append(int(input(" :")))

 return my_list

#define a function to check the elements of the list

def IsListEven(mylist):

 #set the for loop

 for i in range(len(mylist)):

   #set if condition to check odd number

   if mylist[i]%2 !=0:

     #if condition is true retun false

     return False

 #otherwise return true

 return True

#define a function to check the elements of the list

def IsListOdd(mylist):

 #set the for loop

 for i in range(len(mylist)):

   #set if condition to check even number

   if mylist[i]%2==0:

     #if condition is true retun false

     return False

 #otherwise return true

 return True

#set variable to store list

l=GetUserValues()

#set if condition to check the function is true

if IsListOdd(l)==True:

 #then, print the message

 print("all odd")

#set elif condition to check the function is true

elif IsListEven(l)==True:

 #then, print the message

 print("all Even")

else:

 #otherwise print message.

 print("not even or odd")

<u>Output:</u>

Enter range: 5

:2

:4

:6

:8

:10

all Even

Explanation:

Here, we define a function "GetUserValues()" and inside the function.

  • Set the list data type variable "my_list" then, get input from the user in the variable "n".
  • Set the for loop which starts from 0 and end at the variable "n" then, get input from the user and appends inputs in the variable "my_list".
  • Then, we return list and close the function.

Then, we set a function "IsListEven()" and pass an argument "mylist" to check the elements is even or not, if the list elements is even then, return true otherwise, return false.

Then, we set a function "IsListOdd()" and pass an argument "mylist" to check the elements is odd or not, if the list elements is odd then, return true otherwise, return false.

Finally, we call and store the function in the variable "l" then, set conditions to check the list is even print "all even", if the is odd "all odd" otherwise, print "not even or odd".

3 0
3 years ago
KDS Company has 3 departments: 1. Dept X 2. Dept Y 3. Dept Z. Design a program that will read as input each department's sales f
AVprozaik [17]

Answer:

In C++:

#include<iostream>  

using namespace std;  

int main() {  

  int depts[3][4];

  char dptcod [3] ={'X','Y','Z'};

  for (int rrw = 0; rrw < 3; rrw++) {  

      for (int cll = 0; cll < 4; cll++) {  

          cout<<"Dept "<<dptcod[rrw]<<" Q"<<(cll+1)<<": ";

          cin>>depts[rrw][cll];  }  }  

      for (int rrw = 0; rrw < 3; rrw++) {  

          int total = 0;

          for (int cll = 0; cll < 4; cll++) {  

              total+=depts[rrw][cll]; }

              cout<<"Dept "<<dptcod[rrw]<<" Total Sales: "<<total<<endl;}  

  return 0; }

Explanation:

This declares the 3 by 4 array which represents the sales of the 3 departments

  int depts[3][4];

This declares a character array which represents the character code of each array

  char dptcod [3] ={'X','Y','Z'};

This iterates through the row of the 2d array

  for (int rrw = 0; rrw < 3; rrw++) {  

This iterates through the column

      for (int cll = 0; cll < 4; cll++) {

This prompts the user for input

          cout<<"Dept "<<dptcod[rrw]<<" Q"<<(cll+1)<<": ";

This gets the input

          cin>>depts[rrw][cll];  }  }  

This iterates through the row of the array

      for (int rrw = 0; rrw < 3; rrw++) {

This initializes total sum to 0

          int total = 0;

This iterates through the column

          for (int cll = 0; cll < 4; cll++) {

This calculates the total sales of each department

              total+=depts[rrw][cll]; }

This prints the total sales of each department

              cout<<"Dept "<<dptcod[rrw]<<" Total Sales: "<<total<<endl;}  

I hope this helps a little bit

6 0
3 years ago
What are the MOST likely reasons that a student would research a topic using the internet?
Airida [17]

Answer:

To help with them with their work

5 0
2 years ago
Read 2 more answers
Write a program that demonstrates the skills we've learned throughout this quarter. This type of project offers only a few guide
UNO [17]

This type of project offers only a few guidelines, allowing you to invest as much time and polish as you want, as long as you meet the program requirements described below.

The code given below is tic-tac-toe

Explanation:

import java.util.Arrays;

import java.util.InputMismatchException;

import java.util.Scanner;

public class TicTacToe {

static Scanner in;

static String [ ] board;

static String turn;

public static void main(String[] args) {

 in = new Scanner(System.in);

 board = new String[9];

 turn = "X";

 String winner = null;

 populateEmptyBoard();

 System.out.println("Welcome to 2 Player Tic Tac Toe.");

 System.out.println("");

 printBoard();

 System.out.println("X's will play first. Enter a slot number to place X in:");

while (winner == null) {

  int numInput;

  try {

   numInput = in.nextInt();

   if (!(numInput > 0 && numInput <= 9)) {

    System.out.println("Invalid input; re-enter slot number:");

    continue;

   }

  } catch (InputMismatchException e) {

   System.out.println("Invalid input; re-enter slot number:");

   continue;

  }

  if (board[numInput-1].equals(String.valueOf(numInput))) {

   board[numInput-1] = turn;

   if (turn.equals("X")) {

    turn = "O";

   } else {

    turn = "X";

   }

   printBoard();

   winner = checkWinner();

  } else {

   System.out.println("Slot already taken; re-enter slot number:");

   continue;

  }

 }

 if (winner.equalsIgnoreCase("draw")) {

  System.out.println("It's a draw! Thanks for playing.");

 } else {

  System.out.println("Congratulations! " + winner + "'s have won! Thanks for playing.");

 }

}

static String checkWinner() {

 for (int a = 0; a < 8; a++) {

  String line = null;

  switch (a) {

  case 0:

   line = board[0] + board[1] + board[2];

   break;

  case 1:

   line = board[3] + board[4] + board[5];

   break;

  case 2:

   line = board[6] + board[7] + board[8];

   break;

  case 3:

   line = board[0] + board[3] + board[6];

   break;

  case 4:

   line = board[1] + board[4] + board[7];

   break;

  case 5:

   line = board[2] + board[5] + board[8];

   break;

  case 6:

   line = board[0] + board[4] + board[8];

   break;

  case 7:

   line = board[2] + board[4] + board[6];

   break;

  }

  if (line.equals("XXX")) {

   return "X";

  } else if (line.equals("OOO")) {

   return "O";

  }

 }

 for (int a = 0; a < 9; a++) {

  if (Arrays.asList(board).contains(String.valueOf(a+1))) {

   break;

  }

  else if (a == 8) return "draw";

 }

 System.out.println(turn + "'s turn; enter a slot number to place " + turn + " in:");

 return null;

}

static void printBoard() {

 System.out.println("/---|---|---\\");

 System.out.println("| " + board[0] + " | " + board[1] + " | " + board[2] + " |");

 System.out.println("|-----------|");

 System.out.println("| " + board[3] + " | " + board[4] + " | " + board[5] + " |");

 System.out.println("|-----------|");

 System.out.println("| " + board[6] + " | " + board[7] + " | " + board[8] + " |");

 System.out.println("/---|---|---\\");

}

static void populateEmptyBoard() {

 for (int a = 0; a < 9; a++) {

  board[a] = String.valueOf(a+1);

 }

}

}

5 0
3 years ago
Other questions:
  • what is the restaurant with the black pom tree and yellow backround three letter name from hi guess the restaurant
    14·2 answers
  • What is safe mode?
    9·1 answer
  • Topological sort requires only a tiny addition to the DFS algorithms. Exactly one of the following data structures is required t
    9·1 answer
  • The five major functional areas consist of the Command Staff as a whole and the four sections in the General Staff: Operations,
    14·1 answer
  • When using a presentation software you can change the size of the text to...? Increase Font size, Decrease font size, increase t
    15·2 answers
  • Students who finish their homework after school are meeting a. intrapersonal and short-term goals b. normative and short-term go
    13·2 answers
  • What does it mean for a heap to be complete?
    7·1 answer
  • Which of the following describes a recording scout's job in the music industry?
    5·2 answers
  • Would you consider upgrading Maxine’s wardrobe a need or a want?
    11·1 answer
  • "Bookings are to be stored in three separate
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!