Web development and programming
191828 questions • Page 239 / 3837
1. Study the Connecting to an XE Oracle Server document available by hyperlink f
1. Study the Connecting to an XE Oracle Server document available by hyperlink from the course web site. Logon to your XE instance server account using windows/Linux/Unix command …
1. Study the VBA function shown below. Then create a \"Stepping Table\" that kee
1. Study the VBA function shown below. Then create a "Stepping Table" that keeps track of a, Joe, and Jack. Let a = 4, b = 2, c = 3, and d = 5 as values that are inputted from you…
1. Study the header file code in the following code snippet: #ifndef CASHREG?STE
1. Study the header file code in the following code snippet: #ifndef CASHREG?STER H #de fine CASHREG?STER H class CashRegister public: CashRegister CashRegister (double new_balanc…
1. Sudoku Validation. The input to this component is a 4x4 matrix representing a
1. Sudoku Validation. The input to this component is a 4x4 matrix representing a completed 4x4 Sudoku. The input is provided in the variable matrix'. The programmer needs to verif…
1. Suggest some metrics that a manager of fast-food restaurant, such as McDonlad
1. Suggest some metrics that a manager of fast-food restaurant, such as McDonlad's, Chipotle, might want to collect. Describe how the manager might use the data to facilitate bett…
1. Sum of three integers stored in the memory (like in the lecture (a) Specify m
1. Sum of three integers stored in the memory (like in the lecture (a) Specify memory location using: [la] (b) Load immediate Integer-1 to register: [$t1] (c) Load immediate Integ…
1. Summarize three single-factor authentication approaches and multifactor authe
1. Summarize three single-factor authentication approaches and multifactor authentication discussed in Sec. 2.1. 2. Summarize the six ways how access control can be implemented as…
1. Suppose ArrayList X contains two strings[Beijing, Singapore]. Which of the fo
1. Suppose ArrayList X contains two strings[Beijing, Singapore]. Which of the following method will causeruntime errors? (Select all that apply) A) x.size() B)x.set(2, "New York")…
1. Suppose EBX = 1000 (in decimal) and the unsigned decimal values of the bytes
1.Suppose EBX = 1000 (in decimal) and the unsigned decimal values of the bytes stored in memory addresses 1000 through 1003 are 255, 255, 255, and 255. What effect do the followin…
1. Suppose Warshall’s algorithm is used on a directed graph with vertices 0 . .
1. Suppose Warshall’s algorithm is used on a directed graph with vertices 0 . . . 25, but is stopped after column 10 in the matrix is processed. Which paths will be represented in…
1. Suppose a 1 GB file must be distributed. Assume there are 20 clients (or peer
1. Suppose a 1 GB file must be distributed. Assume there are 20 clients (or peers) in addition to the server, and that the following 20 numbers represent the download speed of the…
1. Suppose a Scanner object has been created for scanning n lines of text from a
1. Suppose a Scanner object has been created for scanning n lines of text from a file. Each line consists of a name and a birthdate. You need to solve the problem of determining t…
1. Suppose a computer using direct mapped cache has 2^24 bytes of byte-addressab
1. Suppose a computer using direct mapped cache has 2^24 bytes of byte-addressable main memory and a cache of 64 blocks, where each cache block contains 16 bytes. How many blocks …
1. Suppose a system uses passwords that may contain only alphabetic (upper and l
1. Suppose a system uses passwords that may contain only alphabetic (upper and lower case) and numerics (0..9). Assume every password is five characters long. (a) how many possibl…
1. Suppose a system uses passwords that may contain only alphabetic (upper and l
1. Suppose a system uses passwords that may contain only alphabetic (upper and lower case) and numerics (0..9). Assume every password is five characters long. (a) how many possibl…
1. Suppose an array named BR of 120 float is declared if the address where BR is
1. Suppose an array named BR of 120 float is declared if the address where BR is located is 910 Answer the following (a) what is the size of the array BR in bytes (b) determine th…
1. Suppose in a chat room, there is n number of people. Every person wants to co
1. Suppose in a chat room, there is n number of people. Every person wants to communicate with every other person in the room.The policy of the chat room is to use encrypted me…
1. Suppose num1 and num2 are int variables and symbol is a char variable. Consid
1. Suppose num1 and num2 are int variables and symbol is a char variable. Consider the following input: 37 18 * 48 $ What value (if any) is assigned to num1, num2, and symbol afte…
1. Suppose packets are transmitted at rate rA into the network. What is the end-
1. Suppose packets are transmitted at rate rA into the network. What is the end-to-end delay of the ith packet (i.e., from the time when the sender starts transmitting its first b…
1. Suppose that Bob sends 90,000 bits to Alice over a 2.25 Kbps link (note, 1 Kb
1. Suppose that Bob sends 90,000 bits to Alice over a 2.25 Kbps link (note, 1 Kbps 103 bps) that uses circuit switching. Suppose that circuit switching on the link is implemented …
1. Suppose that Bob sends 90,000 bits to Alice over a 2.25 Kbps link (note, 1 Kb
1. Suppose that Bob sends 90,000 bits to Alice over a 2.25 Kbps link (note, 1 Kbps 103 bps) that uses circuit switching. Suppose that circuit switching on the link is implemented …
1. Suppose that Element is the class for the nodes of a linked list class named
1. Suppose that Element is the class for the nodes of a linked list class named LinkedElements. What are the two main components (variables) of the Element class? What is the m…
1. Suppose that S is the set of all strings of one or more a’s and b’s. For exam
1. Suppose that S is the set of all strings of one or more a’s and b’s. For example, S contains the strings "a", "b", "aa", "ab", "ba", "bb", "aaa", "aab", etc. 1a. Prove that S h…
1. Suppose that a and b are int values. Simplify the following expressions to a
1. Suppose that a and b are int values. Simplify the following expressions to a boolean expression involving only a single operator: 1a. ( (b < b) || !(a <= b)) 1b. ( (a <…
1. Suppose that a hash table contains HASHSIZE = 13 entries indexed from 0 throu
1. Suppose that a hash table contains HASHSIZE = 13 entries indexed from 0 through 12 and that the following keys are to be mapped into the table. 10, 100, 32, 45, 58, 126, 3, 29,…
1. Suppose that a is declared as an int a[99]. Give the contents of the array af
1. Suppose that a is declared as an int a[99]. Give the contents of the array after the following two statements are executed: for (i = 0; i <99 ; i++) a[i] = a[a[i]]; 2. Prepa…
1. Suppose that age is an int variable and name is a string variable. The input
1. Suppose that age is an int variable and name is a string variable. The input is: a. 41Terry Wilson b. 41 Terry Wilson c. 41 Terry Wilson In each case, what are the values…
1. Suppose that an instance of bipartite matching has 10 vertices in the left co
1. Suppose that an instance of bipartite matching has 10 vertices in the left column, 15 vertices in the right column, and 30 edges. The number of edges in the corresponding insta…
1. Suppose that an integer Stack class has member functions void pop(), void pee
1. Suppose that an integer Stack class has member functions void pop(), void peek(int &top) and bool isEmpty(). Implement function int uncover(Stack &s, int n); that pops …
1. Suppose that further analysis of the McBurger restaurant (Example 18.1-1) rev
1. Suppose that further analysis of the McBurger restaurant (Example 18.1-1) reveals the following additional results: Number of cashiers Idleness (%) (a) What is the utilization …
1. Suppose that in 100 memory references there are 4 times misses in the first l
1. Suppose that in 100 memory references there are 4 times misses in the first level cache and 2 misses in the second level cache. What are the various miss rates? a. L1 cache mis…
1. Suppose that in Sherwood Forest, the average radius of a tree is R = 1 m and
1. Suppose that in Sherwood Forest, the average radius of a tree is R = 1 m and the average number of trees per unit area is ? = 0.005 m?2. If Robin Hood shoots an arrow in a rand…
1. Suppose that packets of size 8000 bytes are transmitted over a link which has
1. Suppose that packets of size 8000 bytes are transmitted over a link which has a bit error rate of 10-6 Assume that errors in different bits of a packet are independent. For eac…
1. Suppose that the function f () has the following definitions: int f (int a, i
1. Suppose that the function f () has the following definitions: int f (int a, int b, int c) { ..... } which of the following statements are illegal? Suppose i has type of int and…
1. Suppose that there are n toll booths in a toll plaza. For the safety reason,
1. Suppose that there are n toll booths in a toll plaza. For the safety reason, in front of each toll booth, we build a track for as many as 20 cars to wait in the line for paying…
1. Suppose that we have the two classes below. Trace the execution of the main p
1. Suppose that we have the two classes below. Trace the execution of the main program in the Driver class. public class Driver { public static void main(String[] args)…
1. Suppose that web browsers at 128.255.23.45 port 52000, 129.129.100.200 port 5
1. Suppose that web browsers at 128.255.23.45 port 52000, 129.129.100.200 port 55900, and 130.57.56.60 port 62222 open concurrent, persistent connections to a public web server at…
1. Suppose that web browsers at 128.255.23.45 port 52000, 129.129.100.200 port 5
1. Suppose that web browsers at 128.255.23.45 port 52000, 129.129.100.200 port 55900, and 130.57.56.60 port 62222 open concurrent, persistent connections to a public web server at…
1. Suppose that x, y, and z are int variables, and x = 20, y = 30, and z = 40. D
1. Suppose that x, y, and z are int variables, and x = 20, y = 30, and z = 40. Determine whether the following expressions evaluate to true or false: a. !(x > 10) b. x <= 5 …
1. Suppose that x, y, and z are int variables, and x = 9, y = 14, and z = 19.Det
1. Suppose that x, y, and z are int variables, and x = 9, y = 14, and z = 19.Determine whether the following expressions evaluate to true or false:a. !(x > 9) b. x <= 8 …
1. Suppose that x, y, and z are int variables, and x = 9, y = 14, and z = 19.Det
1. Suppose that x, y, and z are int variables, and x = 9, y = 14, and z = 19.Determine whether the following expressions evaluate to true or false:a. !(x > 9) b. x <= 8 …
1. Suppose that you have two identical capacitors and a single resistor. If you
1. Suppose that you have two identical capacitors and a single resistor. If you make an RC circuit with one capacitor and the resistor it turns out that the time constant is 4.8ms…
1. Suppose the following are the assumptions about a university database: a. Eac
1. Suppose the following are the assumptions about a university database: a. Each student has a student id, name, address, and phone number. Different students must have different…
1. Suppose the following relations are part of a project management database of
1. Suppose the following relations are part of a project management database of a company, where keys are underlined: E(ssn, name, salary) stores the information of employees, P(p…
1. Suppose the home directory for a user is \'/home/usera\', and the current wor
1. Suppose the home directory for a user is '/home/usera', and the current working directory is '/home/usera/document/work'. What is the current working directory after executing …
1. Suppose there are exactly two packet switches (switch#1 and switch#2) between
1. Suppose there are exactly two packet switches (switch#1 and switch#2) between a sending host and a receiving host. The transmission rate between the sending host and switch#1 i…
1. Suppose two nodes are communicating 1500-byte frames at 54 Mb/s and are 100 m
1.Suppose two nodes are communicating 1500-byte frames at 54 Mb/s and are 100 m apart. How much time passes from when one node starts sending a frame and the other completely rece…
1. Suppose we are given a set S of n items, each with a value and a weight. For
1. Suppose we are given a set S of n items, each with a value and a weight. For any element x ES, we define two subsets ·Sex is the set of all elements of S whose value is smaller…
1. Suppose we have a 16 bit virtual address space with 64 pages. A virtual addre
1. Suppose we have a 16 bit virtual address space with 64 pages. A virtual address then has _____ bits for the virtual page number and _____ bits for the offset. 2. In address tra…
1. Suppose we have a Rectangle class that includes length and width attributes o
1. Suppose we have a Rectangle class that includes length and width attributes of type int, both set by the constructor. Create a compareTo method for this class so that rectangle…
Subject
Web development and programming
Use Browse or pick another subject.