Web development and programming
191828 questions • Page 219 / 3837
1. Given four digits, find the maximum valid time that can be displayed on a dig
1. Given four digits, find the maximum valid time that can be displayed on a digital clock (in 24-hour format) using those digits. For example, given digits 1,8,3,2 the maximum va…
1. Given that the stack is initially empty. What will it contain after these ins
1. Given that the stack is initially empty. What will it contain after these instructions? (starting with the top) BiPush 1 BiPush 2 DUP BiPush 4…
1. Given that you have the following files in your working directory: What comma
1. Given that you have the following files in your working directory: What command would you use to display only the names of the files with extension .txt that start with lab and…
1. Given the C strings, describe the output of each code segment. Each question
1. Given the C strings, describe the output of each code segment. Each question is independent of the others. char w1 [10] = “crater”; char w2 [5] = “hill”; char w3[5]; a. …
1. Given the IP address 192.168.1.25 with a subnet mask of 255.255.255.0, identi
1. Given the IP address 192.168.1.25 with a subnet mask of 255.255.255.0, identify the network address, host address, number of hosts, and the broadcast address for the netwo…
1. Given the array [2 5 -1 9 4 0 -3 7 3 6 -6], describe the steps for the follow
1. Given the array [2 5 -1 9 4 0 -3 7 3 6 -6], describe the steps for the following sorting algorithms: a) Merge sort; b) Quick sort; c) Heap sort. 2. Please generate an array wit…
1. Given the base class header file point.h // Point Class Header File // Filena
1. Given the base class header file point.h // Point Class Header File // Filename: point.h #ifndef POINT_H #define POINT_H class point { public: …
1. Given the class below, design a method to shrink the capacity of array \"num\
1. Given the class below, design a method to shrink the capacity of array "num" to its size. public class Numbers { private double [ ] num; private int capacity; private int size;…
1. Given the code below, what is the output? string student1 = \"Student\"; stri
1. Given the code below, what is the output? string student1 = "Student"; string student2 = "Student"; if(student1 == student2) { Console.WriteLine("True"); } else { Conso…
1. Given the data set below, apply the k-Nearest Neighbor algorithm to classify
1. Given the data set below, apply the k-Nearest Neighbor algorithm to classify the test data for k=1 and k=3. Use the Euclidean distance metric. 2. Compute the confusion matrix, …
1. Given the expression (X + Y) x (W - Z) + 2 Expressed in Reverse Polish Notati
1. Given the expression (X + Y) x (W - Z) + 2 Expressed in Reverse Polish Notation, the above expression becomes: A. XY+WZ-x2+ B. XY2+WZ-x+ C. XYWZ2+x-+ D. 2 + (-Z + W) x (Y + X) …
1. Given the facts about Bible family relationship: Write the output for the fol
1. Given the facts about Bible family relationship: Write the output for the following queries (if there are more than one output, write all of them): 2. Write a Prolog rule, brot…
1. Given the facts about Bible family relationship: parent(abraham,ismael). pare
1. Given the facts about Bible family relationship: parent(abraham,ismael). parent(abraham,isaac). parent(isaac,esau). parent(isaac,iacob). Write the output for the following quer…
1. Given the following (5 pts) E = 500 S = 700 J = 1 T =60 I = 40 Determine the
1. Given the following (5 pts) E = 500 S = 700 J = 1 T =60 I = 40 Determine the truth value of the following compound conditions a. E >400 Or J = 1…
1. Given the following BNF: expr -> expr + expr | expr * expr | ( expr ) | numbe
1. Given the following BNF: expr -> expr + expr | expr * expr | ( expr ) | number number -> number digit | digit digit -> 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 Which of t…
1. Given the following C++ class class vehicle { static enum e_terrain(water, la
1. Given the following C++ class class vehicle { static enum e_terrain(water, land, air); int topSpeed(){return 0}; e_terrain getTerrain() {return land}; } Define derived classes …
1. Given the following Host IP Address: 159.51.3.133. Design a subnet having a m
1. Given the following Host IP Address: 159.51.3.133. Design a subnet having a maximum of 30 hosts on it and answer the following questions. A: What is the “Class” of this Host? W…
1. Given the following Security matrix, which is the most most complex form to i
1. Given the following Security matrix, which is the most most complex form to implement? TicketForm SpectatorInformationForm PrintedTicket SeatsForm 2. Another name for a transac…
1. Given the following algorithm in pseudocode: assign x the value 4 assign y th
1. Given the following algorithm in pseudocode: assign x the value 4 assign y the value 7 assign product the value 0 while (x is greater than 0) do (assign product the value produ…
1. Given the following array definition, write a constant declaration named Arra
1. Given the following array definition, write a constant declaration named ArraySize that automatically calculates the size in bytes, of the array: newArray DWORD 10,20,30,40,50 …
1. Given the following class C (10 points): class C { private: int x; public: in
1. Given the following class C (10 points): class C { private: int x; public: int y; C(); C(…
1. Given the following code declaring and initializing three boolean variables a
1. Given the following code declaring and initializing three boolean variables a, b, and c, indicate whether the value of each expression is true or false. (3 pts. each) boolean a…
1. Given the following code: What will print out on the console? (Points : 1) yo
1. Given the following code: What will print out on the console? (Points : 1) you do this test 2. Which of the following statements are true? (Points : 1) bad comments can be wors…
1. Given the following expressions, what value would they have in a C++ program?
1. Given the following expressions, what value would they have in a C++ program? a. 13 / 4 b. 2 + 12 / 4 c. 21 % 5 d. 3 - 5 % 7 e. 17.0 / 4 f. 8 - 5 * 2.0 g. 14 + 5 % 2 - 3 h. 15.…
1. Given the following expressions, what value would they have in a C++ program?
1. Given the following expressions, what value would they have in a C++ program? a. 13 / 4 b. 2 + 12 / 4 c. 21 % 5 d. 3 - 5 % 7 e. 17.0 / 4 f. 8 - 5 * 2.0 g. 14 + 5 % 2 - 3 h. 15.…
1. Given the following fragment of C code, answer the provided questions. If nec
1. Given the following fragment of C code, answer the provided questions. If necessary, you could copy and paste the code into Visual Studio to answer the questions. Lin…
1. Given the following function table with variables (x 2, x 1, x 0 ). Determine
1. Given the following function table with variables (x2, x1, x0). Determine the representation in the following forms (a.) canonical sum of products (CSP) (b.) …
1. Given the following heading of a method, answer questions: ublic int Determin
1. Given the following heading of a method, answer questions: ublic int Determine Result (int value1, chat value2. string value3) What is the signature of above method? (1 pts) De…
1. Given the following host addresses , find the Subnet Address and the Broadcas
1. Given the following host addresses, find the Subnet Address and the Broadcast Address that each host belongs to: a)192.168.15.72 /24 Subnet Address: Broadcast Address: b)192.16…
1. Given the following int i,j-4; int[] a, b- 11, 2, 3; using picture to illustr
1. Given the following int i,j-4; int[] a, b- 11, 2, 3; using picture to illustrate the difference of the following statements 2. What is a state of an object? What is the state o…
1. Given the following piece of code, provide the results of the printfs () or a
1. Given the following piece of code, provide the results of the printfs () or assignment statements as requested. The / blank comment indicates that you need to show the actual o…
1. Given the following piece of code, provide the results of the printfs ()or as
1. Given the following piece of code, provide the results of the printfs ()or assignment statements as requested. The blank comment indicates that you need to show the actual outp…
1. Given the following piece of code, provide the results of the printfs ) or as
1. Given the following piece of code, provide the results of the printfs ) or assignment statements as requested. The *blank*/ comment indicates that you need to show the actual o…
1. Given the following piece of code, provide the resuts of the printfsO or assi
1. Given the following piece of code, provide the resuts of the printfsO or assignme nt statements as requested. The Mblank comment indicates that you need to show the actual outp…
1. Given the following segment of code, // postcondition: returns x + y public i
1. Given the following segment of code, // postcondition: returns x + y public int add(int x, int y) {} // postcondition: return x * y public int multiply(int x, int y) {} what is…
1. Given the following segment of code: (If there is nothing output, write None
1. Given the following segment of code: (If there is nothing output, write None.) int x; int y; cin >> x; cin >> y; while (x > y) { x -= 3; cout << …
1. Given the following sequential list of VEX operations: (Note that by “VEX ope
1. Given the following sequential list of VEX operations: (Note that by “VEX operations”, we are specifying VEX syntax, but not that we are using the VEX architecture.) A. add $r…
1. Given the following snippets of code, evaluate the print statements: (assume
1. Given the following snippets of code, evaluate the print statements: (assume python 3.Xx) Code: Output: z-1,4,5 s-"Text" for x.elem in x print (x elem, end print () for y elen …
1. Given the following string variables, write a statement that would add str2 t
1. Given the following string variables, write a statement that would add str2 to the end of str1. Do not use an assignment statement to do this. string str1 = "Here is an "; stri…
1. Given the following string variables, write a statement that would add str2 t
1. Given the following string variables, write a statement that would add str2 to the end of str1. Do not use an assignment statement to do this. string str1 = "Here is an "; stri…
1. Given the following tables, please write the output of the following queries
1. Given the following tables, please write the output of the following queries (80 points) Customers CustomerID CustomerName ContactName A. Futterkiste A. T. Emparedados y helado…
1. Given the following variable declarations: What is the result of the followin
1. Given the following variable declarations: What is the result of the following relational expression? A. True B. False C. 0 D. -5 2. Consider the following method. What output …
1. Given the following, select how you would call the method. static void Perfor
1. Given the following, select how you would call the method. static void PerformCalculation(); int a = PerformCalculation(); PerformCalculation(4.45, 3.45); void a = PerformCalcu…
1. Given the function heading void GetNums( int howMany, float& alpha, float& be
1. Given the function heading void GetNums( int howMany, float& alpha, float& beta ) which of the following is a v…
1. Given the function prototype void funl (int &, double) is the following funct
1. Given the function prototype void funl (int &, double) is the following function call valid or invalid? Why or why not? double x, y: fun1 (x, y) 2. Given the function proto…
1. Given the function prototype void funl (int &, double) is the following funct
1. Given the function prototype void funl (int &, double) is the following function call valid or invalid? Why or why not? double x, y: fun1 (x, y) 2. Given the function proto…
1. Given the memory configuration in Fig 1., answer thefollowing questions. At t
1. Given the memory configuration in Fig 1., answer thefollowing questions. At this point, Job 4 arrives requesting a block of100K. Total Memory is 200…
1. Given the pseudocode below: Class Animal Private String _name Public Module s
1. Given the pseudocode below: Class Animal Private String _name Public Module setName(String name) Set _name = name End Module Public Module vocalize() Display _name + " makes a …
1. Given the theme and content of your choosing, built a web site with the featu
1. Given the theme and content of your choosing, built a web site with the features described below. The site must be contextually complete for three pages. The narrative should d…
1. Given the theme and content of your choosing, built a web site with the featu
1. Given the theme and content of your choosing, built a web site with the features described below. The site must be contextually complete for three pages. The narrative should d…
Subject
Web development and programming
Use Browse or pick another subject.