Web development and programming
191828 questions • Page 216 / 3837
1. Find out the error if any, in the program. #include int main(){ int
1. Find out the error if any, in the program. #include<stdio.h> int main(){ int i=1; switch(i){ case 1: printf(" adioactive cats have 18 half-lives"); …
1. Find the best and worst case complexity of the Bubble Sort algorithm for sort
1. Find the best and worst case complexity of the Bubble Sort algorithm for sorting n elements for each of the following operations: # of passes, # of exchanges and # of compariso…
1. Find the columns that make up the primary key of the l_lunch_items table. Sor
1. Find the columns that make up the primary key of the l_lunch_items table. Sort the columns by position. (Do this in one statement). 2. List all the lunches that employees have …
1. Find the decimal equivalent of the 4 bit two\'s complement number 1000. 2. Fi
1. Find the decimal equivalent of the 4 bit two's complement number 1000. 2. Find the decimal equivalent of the 4 bit one's complement number 1111. 3. For a given word width, are …
1. Find the error in each of the following code segments: catch (FileNotFoundExc
1. Find the error in each of the following code segments: catch (FileNotFoundException e) { System.out.println("File not found."); } try { File file = new File("MyFile.txt"); Scan…
1. Find the error in the following class: public class TwoValues { private int x
1. Find the error in the following class: public class TwoValues { private int x, y; public TwoValues() { x = 0; } public TwoValues() { x = 0; y = 0; } } 2. Consider the following…
1. Find the error in the following method definition: // This method has an erro
1. Find the error in the following method definition: // This method has an error! public static void sayHello(); { System.out.println("Hello"); } 2. Find the error in the followi…
1. Find the error in the following partial code AND indicate the correction. The
1. Find the error in the following partial code AND indicate the correction. There is only one error and it is in the code shown. It is not that lines of code are missing. It m…
1. Find the errors and correct them. There are at least 5 errors. //This program
1. Find the errors and correct them. There are at least 5 errors. //This program finds the largest and smallest integer //entered by a user #include using namespace std; int main(…
1. Find the magnetic field 6.58 cm from a long, straight wire that carries a cur
1. Find the magnetic field 6.58 cm from a long, straight wire that carries a current of 5.69 A. ______T 2. It is desired that a solenoid 26 cm long and with 550 turns produce a ma…
1. Find the names of all people who work in the Consulting department. 2. Find t
1. Find the names of all people who work in the Consulting department. 2. Find the names of all people who work in the Consulting department and who spend more than 20% of their t…
1. Find the names of guests who live in Dubai and have not reserved a double roo
1. Find the names of guests who live in Dubai and have not reserved a double room? 2. Find the names of guests who reserved all rooms located on the 2nd floor? 3. Find the name(s)…
1. Find the prime factorization of each ofthese integers: (a) 48 (b) 101 5. Whic
1. Find the prime factorization of each ofthese integers: (a) 48 (b) 101 5. Which positive integers less than 12 are relativelyprime to 12? 6. Find the greatest commondivisor (GCD…
1. Find the syntax error involving the creation of a class and its constructor.
1. Find the syntax error involving the creation of a class and its constructor. • Section 3.4 • You will be given a class similar to Code Listing 3-10 containing and error. 2. Wri…
1. Find the top 10 highest OrderPrice which derived by calculating the product o
1. Find the top 10 highest OrderPrice which derived by calculating the product of unitprice and qty. Also, derive the DiscountedOrderPrice by extending the OrderPrice calculation …
1. First convert the decimal input values in Table 1 to signed binary. Then, usi
1. First convert the decimal input values in Table 1 to signed binary. Then, using the logic diagram in Figure 1 as a guide, fill in the output binary values in Table 1 and conver…
1. Five students at a local middle school volunteered to sell fresh baked cookie
1. Five students at a local middle school volunteered to sell fresh baked cookies to raise funds to increase the number of computers for the computer lab. Each student reported th…
1. Flagship is a file as follows. What command will display this file on the scr
1. Flagship is a file as follows. What command will display this file on the screen? (2 p CIS,330,Programming.Smith IS:420,Database: Dhuria CIS 225,Java Srinivasan CIS,310,Securit…
1. Flower rose = new Flower(); rose.smell(); 2. Fruit orange = new Fruit(); oran
1. Flower rose = new Flower(); rose.smell(); 2. Fruit orange = new Fruit(); orange.smell(); 3. Plant lotus = new Fruit(); lotus.smell(); For each of the following code snippets, p…
1. Following is code for a C program that accesses elements in two different two
1. Following is code for a C program that accesses elements in two different two dimensional array. static int anArray[5][4]={{1, 2, 3, 4}, {10, 20, 30, 40}, …
1. For 8-bit 2’s complement math, express each number as hexadecimal. For each s
1. For 8-bit 2’s complement math, express each number as hexadecimal. For each set of numbers below, perform the logical operations: a. -5 AND -38 b. 120 AND 53 c. -45 AND -90 d. …
1. For IEEE 754 single precision floating point, write the hexadecimal represent
1. For IEEE 754 single precision floating point, write the hexadecimal representation for -1.0. 2.For IEEE 754 single precision floating point, what is the number, as written in b…
1. For a read or a write the ____________ rotates beneath the head. 2. _________
1. For a read or a write the ____________ rotates beneath the head. 2. ____________ are used between tracks to minimize errors and misalignments. 3. The ____________ concept can b…
1. For each CIA concept below, classify each example as having a low, moderate,
1. For each CIA concept below, classify each example as having a low, moderate, or high level of impact on organizations or individuals. Justify your classifications. a. Confident…
1. For each department, lists its name, manager\'s name, and the names of projec
1. For each department, lists its name, manager's name, and the names of projects it controls. 2. For the department that controls more projects than any other department, retriev…
1. For each department, lists its name, manager\'s name, and the names of projec
1. For each department, lists its name, manager's name, and the names of projects it controls. 2. For the department that controls more projects than any other department, retriev…
1. For each item below, assign a layer from the five-layer Internet Model that t
1. For each item below, assign a layer from the five-layer Internet Model that the item primarily operates at. Switch a. Layer 1 x.25 pack…
1. For each item below, assign a layer from the five-layer Internet Model that t
1. For each item below, assign a layer from the five-layer Internet Model that the item primarily operates at. Switch a. Layer 1 x.25 pack…
1. For each item in the table below, decide whether the description is of a conn
1. For each item in the table below, decide whether the description is of a connectionless (CL) protocol or a connection-oriented (CO) protocol. Protocol description Uses a prelim…
1. For each of the algorithm segments provided, assume that n is a positive inte
1. For each of the algorithm segments provided, assume that n is a positive integer. Compute the actual numbers of additions, subtractions, multiplications, divisions, and com…
1. For each of the following descriptions, indicate the entity types and the rel
1. For each of the following descriptions, indicate the entity types and the relationship types between them by identifying the nouns, verbs and prepositions as appropriate.You do…
1. For each of the following expressions, give the resulting values and the corr
1. For each of the following expressions, give the resulting values and the corresponding types. DATA DATA …
1. For each of the following parameter passing methods, what are all of the cont
1. For each of the following parameter passing methods, what are all of the contents of the variables value and list after each of the three calls to swap? a) Pass by value …
1. For each of the following parts, circle the letter corresponding to the corre
1. For each of the following parts, circle the letter corresponding to the correct answer. (10) (a) What value does the call strFunc1("PDS 2005") return? int strFunc1 ( char A[] )…
1. For each of the following questions find the most appropriate answer: 0) Whic
1. For each of the following questions find the most appropriate answer: 0) Which of the follwin oerations on a singly-linked list of last names cannot be done in the worst case i…
1. For each of the following sequence of symbols, signs, characters and letters,
1. For each of the following sequence of symbols, signs, characters and letters, determine if it is a valid identifier (and so can be used as a variable name, function name, etc.)…
1. For each of the following state whether it is a wired or wireless media and g
1. For each of the following state whether it is a wired or wireless media and give its approximate range: a) Infra-red b) Microwave c) Twisted Pair cable d) Optic fibre 2. What i…
1. For each of the following structure declarations, determine the offset of eac
1. For each of the following structure declarations, determine the offset of each field, the total size of the structure, and its alignment requirement for x86-64. See Practice pr…
1. For each of the following tasks, design a class (i.e., static)method heading
1. For each of the following tasks, design a class (i.e., static)method heading with an appropriate name, parameters, and returntype (or void). You do not need to write the method…
1. For each of the parameter passing methods what are the values of the list arr
1. For each of the parameter passing methods what are the values of the list array after execution? a) 1. Pass by value b) 2 Pass by reference c) 3. Pass by value result #inc…
1. For each of the statements below (I, II and III), indicate whether the statem
1. For each of the statements below (I, II and III), indicate whether the statement applies to a) a scalar processor, b) a superscalar processor or c) a multi-threaded processor. …
1. For each of these problems, indicate TRUE if the statement is always true. Ot
1. For each of these problems, indicate TRUE if the statement is always true. Otherwise, enter FALSE. Any text other than either TRUE or FALSE may result in no credit for the prob…
1. For each part of this problem, assume the \"before\" values when the given in
1. For each part of this problem, assume the "before" values when the given instruction is executed. Give the requested "after" values. …
1. For each problem below, convert the base-10 numbers to binary and then perfor
1. For each problem below, convert the base-10 numbers to binary and then perform the arith- metic on the binary representation of the numbers. Give the result in binary and base-…
1. For each product, list the total quantity ordered along with the total sale g
1. For each product, list the total quantity ordered along with the total sale generated (total quantity ordered * buyPrice) for that product. The column headers should be “Produc…
1. For each question, write a short, accurate answer in the space provided. 1) W
1. For each question, write a short, accurate answer in the space provided. 1) What is segmentation violation? Give a short segment of C codes which has the segmentation fault. 2)…
1. For each relationship, identify the participation constraints (total or parti
1. For each relationship, identify the participation constraints (total or partial participation) and describe the information it conveys considering both sides of relationship. 2…
1. For each scenario described below, discuss the algorithm and the data structu
1. For each scenario described below, discuss the algorithm and the data structure you would use to count the occurrences of characters in a file given the following constra…
1. For each table, identify the primary key and the foreign key(s). If a table d
1. For each table, identify the primary key and the foreign key(s). If a table does not have a foreign key, write None in the space provided. 2. Do the tables exhibit entity integ…
1. For our first milestone, you’ll brainstorm a list of at least 10 possible top
1. For our first milestone, you’ll brainstorm a list of at least 10 possible topics. Try to be as specific as possible with the list you brainstorm. (something in technology) For …
Subject
Web development and programming
Use Browse or pick another subject.