Web development and programming
191828 questions • Page 189 / 3837
1. (Worth: 2 points. Page limit: 1 sheet; 2 sides) During thanksgiving break Ali
1. (Worth: 2 points. Page limit: 1 sheet; 2 sides) During thanksgiving break Alice is planning to make a road trip from Madison to Seattle, and wants to stop at various tourist lo…
1. (a) (2 points) In a round-robin tennis tournament with n players, every tenni
1. (a) (2 points) In a round-robin tennis tournament with n players, every tennis player plays against every other player. Let T(n) be the total number of tennis matches taking pl…
1. (a) 2 points] Approximate each integral using the composite trapezoidal rule
1. (a) 2 points] Approximate each integral using the composite trapezoidal rule with the number of sub-interval M 10. (b) [2 points] Approximate each integral using the composite …
1. (a) Explain how scheduling, synchronization, and deadlock affect performance.
1. (a) Explain how scheduling, synchronization, and deadlock affect performance. (b) Explain how to improve the solution to the Readers-writers problem. (c) Why is this not a dead…
1. (a) Explain the difference between a Harvard architecture and a Princeton arc
1. (a) Explain the difference between a Harvard architecture and a Princeton architecture. (b) A Princeton architecture is more commonly referred to using a different name. What i…
1. (a) Explain the way in which thedata is organised in a one-dimensional array.
1. (a) Explain the way in which thedata is organised in a one-dimensional array. Show how the memoryaddress of an array element can be calculated from the address ofthe first…
1. (a) Give one reason why it is often more convenient or efficient for routing
1. (a) Give one reason why it is often more convenient or efficient for routing to be hierarchically provider-based, using CIDR – that is, routing is first to the destination prov…
1. (a) Routing is performed in the domain shown in figure Ql using OSPF in multi
1. (a) Routing is performed in the domain shown in figure Ql using OSPF in multi areas configuration. The links in solid line, between routers R1, R2, R3 and network N1, belong to…
1. (a) The Fibonacci numbers are the numbers in the following integer sequence,
1. (a) The Fibonacci numbers are the numbers in the following integer sequence, called the Fibonacci sequence, and are characterised by the fact that every number after the first …
1. (a) The Fibonacci numbers are the numbers in the following integer sequence,
1. (a) The Fibonacci numbers are the numbers in the following integer sequence, called the Fibonacci sequence, and are characterised by the fact that every number after the first …
1. (a) Using Maple or comparable software, determine the repeating decimal expan
1. (a) Using Maple or comparable software, determine the repeating decimal expansion for the rational numbers and 14 (b) What is the period in each case? In other words, what is t…
1. (a) What are the local variables in the following method? public String binar
1. (a) What are the local variables in the following method? public String binary (int decimal) ( String binary int base return binary; (b) Identify and explain what kind of casti…
1. (a) Write Pep/ subroutine COMPAREV specified as follows: (i) It takes 3 param
1. (a) Write Pep/ subroutine COMPAREV specified as follows: (i) It takes 3 parameters – pointers to integer arrays V1 and V2 and an integer N (ii) It returns 2 integer values on t…
1. (a) Write a program that reverses strings (Jon Campbell from Microsoft indica
1. (a) Write a program that reverses strings (Jon Campbell from Microsoft indicated this could be a possible interview question). You need to define a function called string_rever…
1. (chapter 4.1) Consider the following instruction: Instruction: Add Rd. Rs. Rt
1. (chapter 4.1) Consider the following instruction: Instruction: Add Rd. Rs. Rt Interperation: Reg[Rd] -Reg[Rs] + Reg[Rt] a, What are the values of control signals generated by t…
1. (i) Explain the reason why a system call must be implemented in the kernel of
1. (i) Explain the reason why a system call must be implemented in the kernel of the operating system (i.e. in system mode). (ii) Some early CPUs (e.g. INTEL 8086) did not impleme…
1. (i) Words having 1 letter : b Words having 2 letters : bb, ab, ba Words havin
1. (i) Words having 1 letter : b Words having 2 letters : bb, ab, ba Words having 3 letters : bbb, bab, bba, abb Words having 4 letters : bbbb, bbab, bbba, abbb, abab, abba, babb,…
1. (i) Write a generic class definition for class LibraryBook that stores books
1. (i) Write a generic class definition for class LibraryBook that stores books that can be borrowed from the library. It creates LibrayBook objects that use title as identifiers …
1. (k-ary min-heaps) A k-ary heap is like a binary heap, except that non-leaf no
1. (k-ary min-heaps) A k-ary heap is like a binary heap, except that non-leaf nodes have k children (except possibly for one node that can have fewer children). Like binary heaps,…
1. (mainEnergia.ino) Write a program for the MSP430 using Energia that will plac
1. (mainEnergia.ino) Write a program for the MSP430 using Energia that will place an interrupt on the push2 button to blink either the red or green LED in one of two particular pa…
1. (memory.c) Write a program that implements the following three functions a) s
1. (memory.c) Write a program that implements the following three functions a) struct intType * intToStructPointer(int num) b) struct intType * appendElement(struct intType *head,…
1. ) If x = 4, y = 3, and z = 2, determine whether each expression below is true
1. ) If x = 4, y = 3, and z = 2, determine whether each expression below is true, false, or invalid. Problem Expression True, false, or invalid? 1 if (x) 2 if (x = 4) 3 if (x…
1. )Complete the function so that elements in the integer array values are sorte
1. )Complete the function so that elements in the integer array values are sorted from lowest to highest. void sortArray(int values[], int size) { //your code here return; } 2.) W…
1. - 30 % Answer these questions: a) On a single-CPU system, under what circumst
1. - 30 % Answer these questions: a) On a single-CPU system, under what circumstances does a multithreaded program using kernel threads provide better performance (such as faster …
1. - Consider a STUDENT relation in a UNIVERSITY database with the following att
1. - Consider a STUDENT relation in a UNIVERSITY database with the following attributes (Name, SSN, Local_phone, Address, Cell_phone, Age, GPA). Note that the cell phone may be fr…
1. - Consider a STUDENT relation in a UNIVERSITY database with the following att
1. - Consider a STUDENT relation in a UNIVERSITY database with the following attributes (Name, SSN, Local_phone, Address, Cell_phone, Age, GPA). Note that the cell phone may be fr…
1. -30 points Answer these questions: a) On a single-CPU system, under what circ
1. -30 points Answer these questions: a) On a single-CPU system, under what circumstances does a multithreaded program using kernel threads provide better performance (such as fas…
1. . . 2. please help I don\'t understand truth values! Due Tomorrow at 11 PM CD
1. . . 2. please help I don't understand truth values! Due Tomorrow at 11 PM CDT 6. Truth Functions-Practice 2 Aa Aa Calcuiate the truth value for each compound proposition, using…
1. /* Bubble Sort */ 2. #include 3. #include 4. 5. #define
1. /* Bubble Sort */ 2. #include <stdio.h> 3. #include <stdlib.h> 4. 5. #define MAX 10 6. 7. int a[MAX]; 8. int rand_seed=10; 9. void bubble_sort(int m); 10. 11. int m…
1. /* Bubble Sort */ 2. #include 3. #include 4. 5. #define
1. /* Bubble Sort */ 2. #include <stdio.h> 3. #include <stdlib.h> 4. 5. #define MAX 10 6. 7. int a[MAX]; 8. int rand_seed=10; 9. void bubble_sort(int m); 10. 11. int m…
1. /* Bubble Sort */ 2. #include 3. #include 4. 5. #define
1. /* Bubble Sort */ 2. #include <stdio.h> 3. #include <stdlib.h> 4. 5. #define MAX 10 6. 7. int a[MAX]; 8. int rand_seed=10; 9. void bubble_sort(int m); 10. 11. int m…
1. /* Bubble Sort */ 2. #include 3. #include 4. 5. #define
1. /* Bubble Sort */ 2. #include <stdio.h> 3. #include <stdlib.h> 4. 5. #define MAX 10 6. 7. int a[MAX]; 8. int rand_seed=10; 9. void bubble_sort(int m); 10. 11. int m…
1. /* Bubble Sort */ 2. #include 3. #include 4. 5. #define
1. /* Bubble Sort */ 2. #include <stdio.h> 3. #include <stdlib.h> 4. 5. #define MAX 10 6. 7. int a[MAX]; 8. int rand_seed=10; 9. void bubble_sort(int m); 10. 11. int m…
1. /* Example: StructuresDirect in CodeBlocks 2. structures as function argument
1. /* Example: StructuresDirect in CodeBlocks 2. structures as function arguments and return values 3. Direct instances using names */ 4. 5. #include 6. #include 7. 8. struct cplx…
1. /* Example: StructuresIndirect in CodeBlocks 2. structures as function argume
1. /* Example: StructuresIndirect in CodeBlocks 2. structures as function arguments and return values 3. indirect instances using pointers */ 4. 5. #include <stdio.h> 6. #in…
1. // identify all the memory leaks int main() { int *p1, *p2, *p3; p1 = new int
1. // identify all the memory leaks int main() { int *p1, *p2, *p3; p1 = new int; p2 = new int; p3 = p1; p1 = new int; p2 = p1; p1 = new int; p1 = new int; return 0; } 2.// fill i…
1. 1) Three light-bulbs are connected in parallel across a battery. One has a th
1. 1) Three light-bulbs are connected in parallel across a battery. One has a thick filament, one a thin filament, and one a medium filament. Which one has the lowest voltage…
1. 1) Write a statement to declarean array alpha and initialize its components t
1. 1) Write a statement to declarean array alpha and initialize its components to 10,20, and 30. 2. 2) After execution of the codefragment Int arr[5]; Int I; For (I = 0; i&l…
1. 1. Consider the following code snippet: cout
1. 1. Consider the following code snippet: cout << "Please enter a number: "; int x; cin >> x; cout << "Please enter another number: "; int y; cin >> y; co…
1. 1. Describe in your own words the purpose of all user interfaces, whether com
1. 1. Describe in your own words the purpose of all user interfaces, whether command or menu driven. 2. 2. Explain the importance of monitoring system performance and …
1. 1. Find an article that describes a recent (since 2000) research project that
1. 1.Find an article that describes a recent (since 2000) research project that uses artificial intelligence. List your source, the lead researcher, company, or university and des…
1. 1. Find an article that describes a recent (since 2000) research project that
1. 1.Find an article that describes a recent (since 2000) research project that uses artificial intelligence. List your source, the lead researcher, company, or university and des…
1. 1. This is required after the closing brace of the structure declaration. a.
1. 1. This is required after the closing brace of the structure declaration. a. square bracket b. period c. semicolon d. colon e. None of these 2. Look at the following st…
1. 1. Via what protocol does IP communicate errors? 2. In the IP header, what is
1. 1. Via what protocol does IP communicate errors? 2. In the IP header, what is the Identification field used for? 3. A number of bits within the IP header are designated reserve…
1. 1. Why do we need VMM? 2. 2. Assume a virtual memory system has Virtual addre
1. 1. Why do we need VMM? 2. 2. Assume a virtual memory system has Virtual address (bits) Physical RAM Page size PTE size (byte) 32 16GiB 4KiB 4 How many page table entries (PTEs)…
1. 10 points In computability theory, it is well-known that a queue provides pro
1. 10 points In computability theory, it is well-known that a queue provides provably a finite-state machine without a stack). You wll demonstrate this at least partially by showi…
1. 10 points) Assume you are given 3 arrays: An aray of integers intarr beginnin
1. 10 points) Assume you are given 3 arrays: An aray of integers intarr beginning at memory location 0x7B, an array of characters str at 0x5F, and an array of strings strarr at 0x…
1. 100Base-TX can be configured as either half-duplex or full-duplex. When opera
1. 100Base-TX can be configured as either half-duplex or full-duplex. When operated in the full-duplex switched configuration, CSMA/CD is not required. True False 2. Select the co…
1. 18 pts): Consider the following directed graph Part A [4 pts]: Work out the f
1. 18 pts): Consider the following directed graph Part A [4 pts]: Work out the flows along each edge that give the maximum flow for this graph, and then on the lines below, enter …
1. 2 3 please Critical Thinking Questions roviders? If it does is Copyright Adt
1. 2 3 please Critical Thinking Questions roviders? If it does is Copyright Adt and 1. Should Google take a more active approach in censoring its content providers? u it possible …
Subject
Web development and programming
Use Browse or pick another subject.