Web development and programming
191828 questions • Page 181 / 3837
1-Write a program that creates an integer array of size 5, reads the values from
1-Write a program that creates an integer array of size 5, reads the values from the user and stores them in the array. After you store the elements in the array, find the sum, mi…
1-Write a program to implement the arithmetic function F=4x+3y. The numbers x an
1-Write a program to implement the arithmetic function F=4x+3y. The numbers x and y are 8-bit numbers stored in registers D0 and D1, respectively. The calculated value of F should…
1-Write a sql statement to select all rows and columns from the table Customer:
1-Write a sql statement to select all rows and columns from the table Customer: 2-Write a sql statement that returns the Customer’s ID number for those customer’s first name start…
1-Write a statement which defines an int named constant ASSIGN_PTS which is init
1-Write a statement which defines an int named constant ASSIGN_PTS which is initialized to 45. 2-Suppose a, b, and c are defined as int variables. Suppose NUM has been defined as …
1-Write a test program that creates an array of three objects; first two objects
1-Write a test program that creates an array of three objects; first two objects are created via using the default constructor while the third via using the second constructor. 2.…
1-Write programs to implement the algorithm of HW#1(Part-1) and compute the CPU
1-Write programs to implement the algorithm of HW#1(Part-1) and compute the CPU time for different sets of unsigned integers generated by a random number generator Write an effici…
1-Write the code for invoking a method named sendObject . There is one argument
1-Write the code for invoking a method named sendObject . There is one argument for this method which is of type Customer . Assume that there is a reference to an object of type C…
1-You are to write a program that acts like a calculator for complex numbers. Th
1-You are to write a program that acts like a calculator for complex numbers. The program will first ask the user to input the numbers in polar or rectangular form. Then the progr…
1-You are to write a program that acts like a calculator for complex numbers. Th
1-You are to write a program that acts like a calculator for complex numbers. The program will first ask the user to input the numbers in polar or rectangular form. Then the progr…
1-[6 pts] Compare the GBN, SR, and TCP protocols as approaches toward pipelined
1-[6 pts] Compare the GBN, SR, and TCP protocols as approaches toward pipelined error recovery for reliable data transfer. Consider three packets are sent from a client to the ser…
1-a point in the x-y plane is represinted by it\'s x-coordinate and y-coordinate
1-a point in the x-y plane is represinted by it's x-coordinate and y-coordinate. design aclass pointtype that can store and process apoint in the x-y plane . you should then perfo…
1-a point in the x-y plane is represinted by it\'s x-coordinate and y-coordinate
1-a point in the x-y plane is represinted by it's x-coordinate and y-coordinate. design aclass pointtype that can store and process apoint in the x-y plane . you should then perfo…
1-a) Place the following code on the pipelined datapath at the time of forwardin
1-a)Place the following code on the pipelined datapath at the time of forwarding and identify the values with labels from A-J. lw $2,4($8) and $8,$12,$8 or $13,$6,$2 Place the ins…
1-dimensional Array Exercise (easy) Linear Search Parameters: A - An array of in
1-dimensional Array Exercise (easy) Linear Search Parameters: A - An array of integers n - The length of A k - An integer to search for in A Return Value: If k is an element of A,…
1-find the minimum cost SOP and POS forms for the function f(x1,x2,x3,x4)= Sm(0,
1-find the minimum cost SOP and POS forms for the function f(x1,x2,x3,x4)= Sm(0,2,8,9,10,15) +D(1,3,6,7) 2- Derive a minimum cost realization of the four varible function that is …
1-list three advantages and three disadvantages of default deny model in IT secu
1-list three advantages and three disadvantages of default deny model in IT security? 2-list three advantages and three disadvantages of default allow model in IT security? 3-what…
1-name And briefly describe the 3 fundamental types of python variables? 2- What
1-name And briefly describe the 3 fundamental types of python variables? 2- What is an infinite loop? What causes the infinite loop to occur? Give or describe an example. 3- 4- Wh…
1-suppose that ALUSrc=1 and MemWrite=0. Which of the following MIPS instructions
1-suppose that ALUSrc=1 and MemWrite=0. Which of the following MIPS instructions might be executing? sw $t0,4($t1) lw $t0,4($t1) beq $t0,$t1,l andi $t0,$t1,2 add $t0,$t1,$t2 This …
1-the value of the register AL after the following code runs is: mov AL,9Eh or A
1-the value of the register AL after the following code runs is: mov AL,9Eh or AL , AL a.9Eh b.E9h c. 00h d. FFH 2- The value of the register BL after the following code runs is: …
1-“In a study done in London, people in subway stations were offered a cheap pen
1-“In a study done in London, people in subway stations were offered a cheap pen in return for disclosing their passwords. About 90 percent offered their passwords in return for t…
1. !(a>3) is equivalent to a). a
1. !(a>3) is equivalent to a). a<3 b) a <= 3 c) !a < 3 d) !a <= 3 e) !(a<=3) 2. Which of the following expresses the condition: a is less than b and c a) a < …
1. !(a>3) is equivalent to a). a
1. !(a>3) is equivalent to a). a<3 b) a <= 3 c) !a < 3 d) !a <= 3 e) !(a<=3) 2. Which of the following expresses the condition: a is less than b and c a) a < …
1. !lab 1(a) solution by program lab1_a implicit none real :: po
1. !lab 1(a) solution by <Ahmed Jaafari> program lab1_a implicit none real :: powerSum, p_root real :: i,j,k,u,v,w integer :: p print *, "lab 1(a) solution by <Ahmed Jaaf…
1. # Now write a JES function named adjustRedPercent(picture,adjustmentPercentag
1. # Now write a JES function named adjustRedPercent(picture,adjustmentPercentage) # which takes in the adjustment value as a percentage. E.g. when the # value in adjustmentPercen…
1. # Use Python to write function named adjustRedPercent(picture,adjustmentPerce
1. # Use Python to write function named adjustRedPercent(picture,adjustmentPercentage) # which takes in the adjustment value as a percentage. E.g. when the # value in adjustmentPe…
1. #define LAT_CINCINNATI 38.898556 #define LONG_CINCINNATI -77.037852 These are
1. #define LAT_CINCINNATI 38.898556 #define LONG_CINCINNATI -77.037852 These are a)variables of type double b)variables of unknown type c)enumeration double types d)constants 2. W…
1. #include #include int main() { int* x = malloc(5*sizeof(int)); int y[5] = {5,
1. #include #include int main() { int* x = malloc(5*sizeof(int)); int y[5] = {5,5,5,5,5}; *x = y; int i; for (i = 0; i < 5; ++i) { printf("%d ", *(x+i)); } free(x); return 0; }…
1. #include 2. void main() { 3. FILE *fptr; 4. char name[20]; 5. int a
1. #include <stdio.h> 2. void main() { 3. FILE *fptr; 4. char name[20]; 5. int age; 6. float salary; 7. fptr = fopen("emp.rec", "XX"); 8. if (fptr == NULL) 9. { 10. printf("…
1. #include 2. void dgemm (int n, double* A, double* B, double* C)
1. #include <x86intrin.h> 2. void dgemm (int n, double* A, double* B, double* C) 3. { 4. for (int i = 0; i < n; i += 4) 5. for (int j = 0; j < n; j++) { 6. __m256 c0 =…
1. #include \"rims \"h\" state = BL Ledoff; 4. typedef struct task [ default: st
1. #include "rims "h" state = BL Ledoff; 4. typedef struct task [ default: state =-1; II Transitions int state: unsigned long period: unsigned long elapsedTime int (TickFct) (int)…
1. #include \"rins.h\" 2 3 4. typedef struct task state = BL LedOff; break; int
1. #include "rins.h" 2 3 4. typedef struct task state = BL LedOff; break; int state; unsigned long period; unsigned long elapsedTime; int (*TickFct) (int); default: state =-1; 7 )…
1. #include \"rins.h\" 2 3 4. typedef struct task state = BL LedOff; break; int
1. #include "rins.h" 2 3 4. typedef struct task state = BL LedOff; break; int state; unsigned long period; unsigned long elapsedTime; int (*TickFct) (int); default: state =-1; 7 )…
1. ( 1) Which of the following is an invalid C++ identifier?
TwoForOne A_+_B two_for_one A_plus_B 2. ( 1) Which of the following identifies syntax errors in programs written in a high-level language? Assembler Compiler Preprocessor Linker 3…
1. ( Boolean Functions ) The keypad on your oven is used to enter the desired ba
1.(Boolean Functions) The keypad on your oven is used to enter the desired baking temperature and is arranged like the digits on a phone: 1 2 3 4 5 6 7 8 9 0 Unfortunately the cir…
1. ( Looping Techniques ) Predict the output of the following program segment pu
1. ( Looping Techniques ) Predict the output of the following program segment public static void main(String args[]) { …
1. (.5 point) For the following C statement what is the corresponding MIPS assem
1. (.5 point) For the following C statement what is the corresponding MIPS assembly code? Use a minimal number of MIPS assembly instructions. Assume that f, g and h are in $s0, $s…
1. (1 point) A file contains only colons, spaces, newlines, commas, and digits i
1. (1 point) A file contains only colons, spaces, newlines, commas, and digits in the following frequency: colon(100), space(605), the newline(100), comma(705), 0(431), 1(242), 2(…
1. (1 point) Main memory is an order sequence of c 2. (1 point) True or False: M
1. (1 point) Main memory is an order sequence of c 2. (1 point) True or False: Main memory stores numbers and leters 3. (1 point) True or False: Programs do not have to be loaded …
1. (1 point) What technique is used to model the situation that Student may be f
1. (1 point) What technique is used to model the situation that Student may be friends of other students? A) Gerund B) Weak entities C) Super/sub types D) Recursive relationships …
1. (1 point) What technique is used to model the situation that Student may be f
1. (1 point) What technique is used to model the situation that Student may be friends of other students? A) Gerund B) Weak entities C) Super/sub types D) Recursive relationships …
1. (1 point) Which of the following is NOT a major facet of the information indu
1. (1 point) Which of the following is NOT a major facet of the information industry. Content Law and Ethics Computers Telecommunications 2. (1 point) ICT customers searching onli…
1. (1 point) Write a single statement to create an array that contains values fo
1. (1 point) Write a single statement to create an array that contains values for daily water usage over a week (in gallons). (You should make up these values using any numbers be…
1. (1 pt) To go from a node to its left child, a Binary Search Tree uses (circle
1. (1 pt) To go from a node to its left child, a Binary Search Tree uses (circle one): pointer index arithmetic 2. (1 pt) To go from a node to its left child, a min-heap uses (cir…
1. (1.5+1.5+1.5+2.5 pts) Assume the EMPLOYEE table has the following rows ID 100
1. (1.5+1.5+1.5+2.5 pts) Assume the EMPLOYEE table has the following rows ID 100 SALES 101 RD 102 HR 103 SALES 104 RD DEPT SALARY 40000 38000 60000 58000 70000 NAME Smith Terry Da…
1. (1.5pt) List and briefly define the fundamental security design principles 2.
1. (1.5pt) List and briefly define the fundamental security design principles 2. (1pt) What is the difference between a session key and a master key? 3. (1pt) What is the OSI secu…
1. (10 Points] Fill in the blanks: keyword is used to inherit properties of the
1. (10 Points] Fill in the blanks: keyword is used to inherit properties of the parent class into the child class b. When a class has a method that has the same name and the same …
1. (10 p) Consider the following Bayesian network with the random variables: pol
1. (10 p) Consider the following Bayesian network with the random variables: politically Motivated prosecutor B Broke election law, I- Indicted, M G = found Guilty, J = Jailed. B …
1. (10 points) (10 pts.) Give a context-free grammar to generate the language of
1. (10 points) (10 pts.) Give a context-free grammar to generate the language of binary strings whose third rightmost symbol is a I 2. (10 pts.) a) Give a counterexample to show t…
1. (10 points) Answer the following questions. a. b. c. What is the lower bound
1. (10 points) Answer the following questions. a. b. c. What is the lower bound of comparison based sorting algorithm? What is stable sorting property? Which of the following sort…
1. (10 points) Biology Midterm Your Biology professor from last semester has ask
1. (10 points) Biology Midterm Your Biology professor from last semester has asked you to write a program that grades the solutions for her midterm exam being given to this semest…
Subject
Web development and programming
Use Browse or pick another subject.