A classless address is given as 177.200.180.92/27. What will be the total number addresses available? 64 30 62 32
Q: Make an application which take a address and search/show the location (marker) on the map
A: Below I am creating a map with a search box for users to enter geographcal searches.The search box…
Q: mand did you use? 2 - devel
A: please help me to answer the following question use ibm as 400 1 - develop a new Library called…
Q: What exception does this fragment of code raise? class Exception_Demo{ public static void…
A: Note: The above code will not run, you need to add catch or Finally block if you want this code to…
Q: The statement int *p; declares p to be a(n) [l1] . p will store an integer value p will store…
A: Pointers are represented using * notation A pointer is a variable which is used in storing the…
Q: Part-1: Admin In admin part, admin can add medicines serially wherever he wants! (Medicine Name,…
A: Note: We are authorized to answer one problem/part at a time since you have not mentioned which one…
Q: ny of the 3 number from the user, generate a random number between 1 to 3 itself and then apply the…
A: After going throught the program requirements, the project is implemented in Java using sockets…
Q: I am getting an error that says "Exception in thread "main" java.util.NoSuchElementException: No…
A: Your Student file is fine, but your Driver2 file has some problems in it. First of all, I don't see…
Q: Create an application which simulates the running race of 100 meters. The number of runners should…
A: Please check the step 2 for program
Q: Complete and modify the code: 1 def match(x,y): 2 """Return the number with the…
A: Here we have a function match with have two parameters and will return the smaller number between…
Q: 6. If the starting address location changes, in which of the following cases, the program has to be…
A: D compile time binding is the correct option Explanation:- Because compile time binding describe…
Q: FoodOrder # date: Date # foodOrderlID: int - foodPrice: double # DISCOUNT: double + FoodOrder() +…
A: The java files below are the best I could achieve with this info! Some information about the…
Q: in java eclipse ide Write a program: Input from console 2 integer numbers, save them in…
A: I give the code in java eclipse and also provide the output and code screenshot
Q: Write a socket server program named "RockPaperScissorsServer", which communicates with players…
A: Client Code: Client.java package PaperScissorsStone; import java.io.*; import java.net.*; class…
Q: The memory location at address 00002001 contains the memory variable. What is the data memory…
A: The hexadecimal numeral system is a positional numeral system that represents numbers using a radix…
Q: please i need confert this code to compiler using System; class HelloWorld
A: //Corrected program: using System;using System.Collections.Generic;using System.Linq;using…
Q: Consider the expression: ?=−?∗(?+?) Write the three – address code for this expression and…
A: Given expression is ?=-?*(?+?) Every expression is represented in three address code and also there…
Q: 1. A computer department is assigning random computers to faculty members attaching an ID number to…
A: Since you have asked multiple questions, we will solve the first question for you. If you want any…
Q: A password is an example of using _____ to authenticate the user. Select one: a. something the user…
A: Filled the given statement
Q: Create a simple application that support graphical user interface. This demonstration is about…
A: Your Code:- import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import…
Q: In the following code: public void displayAddress(Address add) ( System.out.printin(add.toString0):…
A: ANS: - False EXPLANATION: - The displayAddress method takes the parameter of type Address.
Q: Provide 3 differences between Accessor and Mutator. PS: Please answer it correctly and less…
A: Accessor Method: This method is also known as get method or a getter and a property of object is…
Q: ** Write a Java program that continuously asks the user what to be performed as follows: 1. Enter…
A: Here is the approach : We need to create the var to take the user input . Then ask the user to…
Q: Start 2x speed int main (){ int someInt; int* valPointer; 75 someInt = 5; 76 10 somelnt cout <<…
A: In the code we have two pointers someInt and valPointer someInt has value 5 initially and its…
Q: Write an application that displays a menu system. The menu system should allow the user to select…
A: Program: import java.awt.GridLayout;import java.awt.event.ActionEvent;import…
Q: 25585 ex2 urce Packages lab6 ex2 10 * @author osama 11 LAB6 ex2.java 12 import java.io.*; 13 fname…
A: You are getting that error because your program may be invoked without command-line or IDE-emulated…
Q: Start 2x speed int main (){ int someInt; int* valPointer; 75 someInt = 5; 76 10 somelnt cout <<…
A: Before understandingt the program we must understand two things about the pointers that is address…
Q: ???=35.74+0.6215??−35.75?0.16+0.4275???0.16 how to write pseudocode for this forumla?
A: So this a wind chill calculation program and the pseudocode will be based on this given below…
Q: X Q.What is the error in this program? int main0{int a;int ptr=&a;cout>ptr;cout<<"you entered"…
A: In the first question we are going to predict the error in the given code and then in the next…
Q: include int main (void) ( DDRD = 1<<DDD6; PORTC - 1<<PORTCO | 1<<PORTC1; 0x81; TCCROA TCCROB -…
A: Answer is given below-
Q: #include #include #include #include #include #include #include #define max 80 #define port 8080…
A: Correct code-…
Q: edit and finish class authenticate below do not give a solution (example copying from another source…
A: the program is an given below:
Q: public Socket accept() throws IOException This method ....... Select one:
A: The answer is...
Q: java program
A: import java.io.*;import java.util.*; public class Main{ public static void main(String[]…
Q: CLASS OF 2019 Welcome MySAIL Oakland Un X Th Course: CSI-1420-43702.201940 X…
A: Create a main method in the C program and read input from the user. And subtract the second time,…
Q: /* foo5.c */ 1 /* bar5.c */ 2 #include 2 double x; 3 void f(void); 3 4 void f() 4 int x = 15213;…
A: Answer: I have given answer
Q: 1)Answer the question with the correct option A) Which of the following assigns to the pointer p…
A: Assigns to the pointer p to address of value
Q: CHALLENGE ACTIVITY 9.3.2: Input parsing: Reading an entire line. Write a single statement that reads…
A: Given: We have to write a single statement that reads an entire line from string. Assign…
Q: num : string - bank_account : string + regis() + regis(stri
A: Hello I want to make this class where it do a register for the user and send the data to data base…
Q: the operations must be stored in a txt file and make read method to read it The samples are…
A: java programming language note the operations must be stored in a txt file and make read method…
Q: 13. The following very complex subroutine moves the cursor down to the next line. What, if anything,…
A: According to the information given :- we have .ORIG x4000NEWLINE LD R0, CRLF…
Q: Many user-created passwords are simple and easy to guess. Write a program that takes a simple…
A:
Q: rite an application that allows a user to enter the names and birthdates of up to 10 friends.…
A: Error is an unlawful activity performed by the client which brings about the unusual working of the…
Q: Q1. A script that can be used as a calculator with four major operations, i.e. “+-/*”. The script…
A: Algorithm: 1. Peruse Two Numbers2. Input Choice (1-Addition, 2-Subtraction, 3-Multiplication,…
Q: Whenever I create an input text file and run the application I get this error message.…
A: The code is perfectly fine :) The regex value is incorrect. That is all.
Q: Build a web crawler function that starts with a URL representing a topic (a sport, your favorite…
A: web crawler function that starts with a URL install all the required repositories
Q: For example, if your organization's address is the classless address 15.25.16.8 / 17, then find the…
A: Classless Addressing To lessen the wastage of IP addresses in a square, we utilize sub-netting.…
Q: kssume the code below. (1) What design pattern, as well as the category, does the code follow?…
A: Note: since your question contain multiple part but we can answer only one at a time due to our…
Q: You have to develop an application like Skype by implement at least these features
A: I am implemented this program in java android(j2me). The code is implemented below:
-
A classless address is given as 177.200.180.92/27. What will be the total number addresses available?
64
30
62
32
Step by step
Solved in 2 steps with 1 images
- Java OOP Write a complete address book maintenance application. The user of the program has four options: Add a new person, delete a person, modify the data of a person, and search for a person by giving the name. Use the AddressBook class, either the original one from the chapter or the modified one from the previous exercises. You have to decide how to allow the user to enter the values for a new person, display person information, and so forth.*CODE SHOULD BE IN JAVA* A personal phone directory contains room for first names and phone numbers for 30 people. Assign names and phone numbers for the first 10 people. Prompt the user for a name, and if the name is found in the list, display the corresponding phone number. If the name is not found in the list, prompt the user for a phone number, and add the new name and phone number to the list. Continue to prompt the user for names until the user enters quit. After the arrays are full (containing 30 names), do not allow the user to add new entries. Use the following names and phone numbers: Name Phone # Gina (847) 341-0912 Marcia (847) 341-2392 Rita (847) 354-0654 Jennifer (414) 234-0912 Fred (414) 435-6567 Neil (608) 123-0904 Judy (608) 435-0434 Arlene (608) 123-0312 LaWanda (920) 787-9813 Deepak (930) 412-0991d. Interface Find the number of addressess in the range if the first address is 14.7.24.0 and the last address is 14.7.27.255 Select one: a. 1024 O b. 2048 C. 512 d. 256 ch01 - Search Resul... search
- Instructions: In the code editor, you are provided with a treasureChestMagic() function which has the following description: Return type - void Name - treasureChestMagic Parameters - an address of an integer Description - updates the value of a certain integer randomly You do not have to worry about how the treasureChestMagic() function works. All you have to do is ask the user for an integer and then call the treasureChestMagic() function, passing the address of that integer you just asked. Finally, print the updated value of the integer inputted by the user. Please create a main code for my function that works with this. This is my code: #include<stdio.h>#include<math.h> void treasureChestMagic(int*); int main(void) { // TODO: Write your code here return 0;} void treasureChestMagic(int *n) { int temp = *n; int temp2 = temp; *n = *n + 5 - 5 * 5 / 5; temp2 = (int) pow(2, 3); if(temp % 3 == 0) { *n = temp * 10; } else if(temp %…Find the number of addresses in a block of classless addresses if one of the addresses is 12.2.2.7/24. Select one: a. 64 b. 128 C. 256 d. 32The addresses for classes A, B, and C are listed below. multicast O reserved O unicast O all of the above O
- Which of the following will exchange the values at addresses identified by pointers p and q? (All assignments may be assumed to be between compatible types). Select one: O a. Any will work. O b. temp = p; p = q; q = temp; O c. temp = p; *p = *q; q = temp; O d. temp &p; *p = *q; q = *temp; None will work. O e. O f. temp = *p; *p = *q; *q = temp;In Java C++Write a code assessing a txt file consisting of id numbers. It should asses the given id numbers if its valid. An ID number can be considered valid given below. The following numbers are (imagine that the numbers are in a txt file)12034562120238471204562312067282120371891293042812047281129374911283920112013818It must be divisible by 11 given the formula below.The output will be the number of valid and invalid numbers. 11191031 = 1*8 + 1*7 + 1*6 + 9*5 + 1*4 + 0*3 + 3*2 + 1*1 = 77sum of the products must be divisible by 11 for it to be valid.Integer userValue is read from input. Assume userValue is greater than 1000 and less than 99999. Assign tensDigit with userValue's tens place value. Ex: If the input is 15876, then the output is: The value in the tens place is: 7 2 3 public class ValueFinder { 4 5 6 7 8 9 10 11 12 13 GHE 14 15 16} public static void main(String[] args) { new Scanner(System.in); } Scanner scnr int userValue; int tensDigit; int tempVal; userValue = scnr.nextInt(); Your code goes here */ 11 System.out.println("The value in the tens place is: + tensDigit);
- Topic: Data Communication & Network Write a socket server program named "RockPaperScissorsServer", which communicates with players (clients). Server firstly receives a name for the player. Let’s assume 1 is Rock, 2 is Paper and 3 is Scissors. Next Server receives any of the 3 number from the user, generate a random number between 1 to 3 itself and then apply the Rock Paper Scissors game logic (which is paper beats rock, rock beats scissors, scissors beats paper), Then it will tell the player if the player or server has won. Write another client program to communicate with the server. Kindly make the server in such a way the any time any player can leave and another player can join. Use Java to write the code. *** Reference code: Creating a simple Server *** import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.ServerSocket; import java.net.Socket;import java.util.Scanner; public class Server1 {…Enter the name of Stock: Oracle Corporation Enter the symbol of Stock: URCL Enter the previous closing price: 34.5 Enter the current price: 34.35 Stock name: Oracle Corporation Stock symbol: ORCL Stock ID: 59 Price-change percentage: - 0.434782608695648 Challenge Question - Using GregorianCalendar and Date classes: (Use the GregorianCalendar class) Java API has the Date class and GregorianCalendar class in the java.util package, which you can use to obtain the current date with specific details like current year, current month, current day of a date and so on. Write a program to perform these tasks: 1. Display the current year, month, and day. 2. Display the current date by using the to String() method from the Date class. 3. Display the current time-which is used to display the number of milliseconds- by using getTime() method from the Date class. We will use it in the step 17. 4. - Display the current year by using get(GregorianCalendar.YEAR) method from to GregorianCale class. 5-…Enter the name of Stock: Oracle Corporation Enter the symbol of Stock: URCL Enter the previous closing price: 34.5 Enter the current price: 34.35 Stock name: Oracle Corporation Stock symbol: ORCL Stock ID: 59 Price-change percentage: - 0.434782608695648 Challenge Question - Using GregorianCalendar and Date classes: (Use the GregorianCalendar class) Java API has the Date class and GregorianCalendar class in the java.util package, which you can use to obtain the current date with specific details like current year, current month, current day of a date and so on. Write a program to perform these tasks: 1. Display the current year, month, and day. 2. Display the current date by using the to String() method from the Date class. 3. Display the current time-which is used to display the number of milliseconds- by using getTime() method from the Date class. We will use it in the step 17. 4. - Display the current year by using get(GregorianCalendar.YEAR) method from to GregorianCale class. 5-…