Web development and programming
191828 questions • Page 3 / 3837
# Re-write the random password generator function below and extend it so that th
# Re-write the random password generator function below and extend it so that the # passwords are written to a file. You can first ask the user what the length of the # passwords …
# Rewrite either the \'compareCoffeePricesList\' function OR the \'cafeDiskDemo\
# Rewrite either the 'compareCoffeePricesList' function OR the 'cafeDiskDemo' function # so that, instead of having the cafes numbered 0, 1, 2, etc., they are named. # When taking…
# Statement T/F C PROGRAMMING 1. If ch1 contains the value \'C\' and ch2 contain
# Statement T/F C PROGRAMMING 1. If ch1 contains the value 'C' and ch2 contains the value 'K', the value of the expression ch1 >= ch2 is true. 2. A function can be declared sev…
# T/F 8 MidTerm Questions \'A\' 1 Windows will open programs that have common fi
# T/F 8 MidTerm Questions 'A' 1 Windows will open programs that have common file extensions using 'default' programs. 2 When you 'Open' a file; it copies data from the hard drive …
# Test drop_last e-->\'\'.join([v for v in drop_last(\'combustible\', 5)])-->com
# Test drop_last e-->''.join([v for v in drop_last('combustible', 5)])-->combus e-->''.join([v for v in drop_last(hide('combustible'), 5)])-->combus e-->''.join([v …
# Test sequence e-->\'\'.join([v for v in sequence(\'abc\', \'d\', \'ef\', \'ghi
# Test sequence e-->''.join([v for v in sequence('abc', 'd', 'ef', 'ghi')])-->abcdefghi e-->''.join([v for v in sequence(hide('abc'), hide('d'), hide('ef'), hide('ghi'))]…
# This function CALLS Eyeball TWICE (once for each eye) to place the pair of eye
# This function CALLS Eyeball TWICE (once for each eye) to place the pair of eyeballs on the screen. Stare must first determine the correct radius and center positions for each ey…
# This function paints ONE anime eyeball on the Canvas, centered at . The
# This function paints ONE anime eyeball on the Canvas, centered at <Xc,Yc>. The color of the iris is NewColor, the pupil is black, and the highlights are white. The sizes a…
# This program exercises arrays and linked lists of nodes. # Replace any \"
# This program exercises arrays and linked lists of nodes. # Replace any "<your code>" comments with your own code statement(s) # to accomplish the specified task. # Do not …
# This program exercises bags: # Replace any \"\" comments with your own code st
# This program exercises bags: # Replace any "" comments with your own code statement(s) # to accomplish the specified task. # Do not change any other code. # The following files …
# This program exercises stacks. # Replace any \"\" comments with you
# This program exercises stacks. # Replace any "<your code>" comments with your own code statement(s) # to accomplish the specified task. # Do not change any other code. # T…
# This program exercises stacks. # Replace any \"yourcode\" comments with your o
# This program exercises stacks. # Replace any "yourcode" comments with your own code statement(s) # to accomplish the specified task. # Do not change any other code. # The follow…
# This program uses a Python dictionary to find the mode(s) of a data set. # The
# This program uses a Python dictionary to find the mode(s) of a data set. # The mode of a data set is its most frequently occurring value. # A data set may have more than one mod…
# This program uses a Python dictionary to find the mode(s) of a data set. # The
# This program uses a Python dictionary to find the mode(s) of a data set. # The mode of a data set is its most frequently occurring value. # A data set may have more than one mod…
# Using MARS, write Assembly code (for RISC) that computes average of list of mi
# Using MARS, write Assembly code (for RISC) that computes average of list of mideterm test scores in # freshman ENGR121 class and return in $v0. # The list consis…
# Variables: # NBA: number of bits in the virtual address # NBO: number of bits
# Variables: # NBA: number of bits in the virtual address # NBO: number of bits for offset in the virtual address # NBP: number of bits for VPN in the virtual address # NP: number…
# Write a Program that dispense change. The Program shouldread the amount of pur
# Write a Program that dispense change. The Program shouldread the amount of purchase and the amount paid and then displaythe number of dollars , quaters, dimes, nickels, and penn…
# Write a recursive method about: Arrangements. Suppose we have a collection (i.
# Write a recursive method about: Arrangements. Suppose we have a collection (i.e. a set) of numbers: 1, 2, 3, 4 and we want to find all possible arrangements of these numbers. We…
# Write a recursive method that finds a path in a given maze. A maze consists of
# Write a recursive method that finds a path in a given maze. A maze consists of open spaces (represented by 1s) and walls (repesented by 0s). So, we can represent a maze with a 2…
# YOUR SOLUTION GOES HERE \"Check that statistics returns the correct datatype.\
# YOUR SOLUTION GOES HERE "Check that statistics returns the correct datatype." assert type(statistics([1.3,5.2,3.7])) == tuple , "Return value should be a tuple." assert len(stat…
# add you name up here # modify the fraction shown below # NOTE, you should inde
# add you name up here # modify the fraction shown below # NOTE, you should indent by using 4 spaces for each indent, and not tab # and the gcd is different below than in th…
# data segment .data Z: .word 2, 4, 6, 8, 10, 12, 14, 16, 18, 0 #First array\'s
# data segment .data Z: .word 2, 4, 6, 8, 10, 12, 14, 16, 18, 0 #First array's elements sumZ: .word 0 .text main: la $t3, Z # put address of Z into $t3 lw $t1, sumZ Loop: lw $s6, …
# i = 0, k = 1 and j = n/2 # while (k -1 and j > -1 and j < n
# i = 0, k = 1 and j = n/2 # while (k <= n*n) # if (i > -1 and j > -1 and j < n and i < n and a[i,j] == 0) # a[i,j] = k # i = i - 1, j = j +1 and k = k + 1 # else i…
# in Java Use a factory pattern to support a rental car program • Create RentalC
#in Java Use a factory pattern to support a rental car program • Create RentalCar class, with following attributes o Name o # of people can fit • Write a toString() method for the…
# in r programming # 1) Create an object of S3 class “cow” containing : An ident
# in r programming # 1) Create an object of S3 class “cow” containing : An identification Number for the cow The cow breed A dataframe of the cow age (months), milk yield in first…
# include # include # include # include using namespace std; // Class prototype.
# include # include # include # include using namespace std; // Class prototype. class TripleString { // Private area for variables and methods. private: // Member data. string st…
# include # include //for \'rand\', \'srand\' # include //for \'system time\' us
# include # include //for 'rand', 'srand' # include //for 'system time' using namespace std; int main() { int no; //saves no. of games to play char c[4]; // saves 4 different char…
# include # include # include # include u
# include <iostream> # include <cmath> # include <iomanip> # include <cstdlib> using namespace std; int main() { int die1; int die2; int dice; int bet; int…
# include # include #include using namespace std;
# include <iostream> # include <conio.h> #include<stdlib.h> using namespace std; int main() { //clrscr(); int a[50],size; int p,c; cout<<"Enter the Size of…
# include # include using namespace std; /* * Node Declarat
# include <iostream> # include <cstdlib> using namespace std; /* * Node Declaration */ struct node { int info; struct node *left; struct node *right; }*r; /* …
# include using namespace std; int main () { char name[60]; int adult
# include <iostream> using namespace std; int main () { char name[60]; int adult; int child; int a=6; int c=3; int gross = (adult*6)+ (child * 3) ; int …
# include # include \" sthread .h\" static void go( int n); # define
# include <stdio .h> # include " sthread .h" static void go( int n); # define NTHREADS 10 static sthread_t threads [ NTHREADS ]; int main ( int argc , char ** argv ) { int i…
# include int main() ( int number, sum, choice, total_numbers; printf(
# include <stdio.h> int main() ( int number, sum, choice, total_numbers; printf("Welcome to the integer sum program! "); choice = 0; total numbers = 0; sum = 0; while (choic…
# include \"stdafx.h\" # include #include using namespace std
# include "stdafx.h" # include<iostream> #include <string> using namespace std; int main() { string str,s1,s3,s; cout<<"Enter string:"; getline(cin, str); s=str;…
# include \"stdafx.h\" # include #include using namespace std
# include "stdafx.h" # include<iostream> #include <string> using namespace std; int main() { string str,s1,s3,s; cout<<"Enter string:"; getline(cin, str); s=str;…
# include \"stdafx.h\" # include #include using namespace std
# include "stdafx.h" # include<iostream> #include <string> using namespace std; int main() { string str,s1,s3,s; cout<<"Enter string:"; getline(cin, str); s=str;…
# include using namespace std;//Write a function to return a string composed of
# include using namespace std;//Write a function to return a string composed of the most//frequent lowercase letter found in each row of a 10 times 10//array of lowercase alphabet…
# include void Maximum (int m[][20],int n); void count (int s); main(){ i
# include<conio> void Maximum (int m[][20],int n); void count (int s); main(){ int i ,j,n,avr,sum,s=0; int m[5][20]; int t[20]; cout<<" Welcome to my programe "<<…
# include int n_i = 0, n_d = 0; in int no_i[984]; double no_d[984]; voi
#include<stdio.h> int n_i = 0, n_d = 0; in int no_i[984]; double no_d[984]; void printValues(); int main() { int choice, I, j, temp; do{ printf(“1)Print author info 2)Print …
# pascal.py: takes an integer n as command-line argument and writes # Pascal\'s
# pascal.py: takes an integer n as command-line argument and writes # Pascal's triangle P_n. import stdarray import stdio import sys # Get n from command line, as an int. n = int(…
# sqrt.py import stdio import sys # Accept float c as a command-line argument. W
# sqrt.py import stdio import sys # Accept float c as a command-line argument. Write to standard # output the square root of c to 15 decimal places of accuracy # Use Newton's meth…
# work and upload your solutions. If you get # stuck on a problem, go on to the
# work and upload your solutions. If you get # stuck on a problem, go on to the next; however, # if you leave n problem completely blank I can't give you # any partial credit. # P…
#!/bin/bash clear echo \"Enter your oligonucleotide sequence: \" read SEQ if [[
#!/bin/bash clear echo "Enter your oligonucleotide sequence: " read SEQ if [[ "$SEQ" == [ATCGatcg] ]]; then echo "Your entered oligonucleotide sequence is $SEQ" else echo "E…
#!/bin/bash clear echo \"Enter your oligonucleotide sequence: \" read SEQ if [[
#!/bin/bash clear echo "Enter your oligonucleotide sequence: " read SEQ if [[ "$SEQ" == [ATCGatcg] ]]; then echo "Your entered oligonucleotide sequence is $SEQ" else echo "Error! …
#!/bin/bash count=1 while [ $count -lt 200 ] do echo \"Please gues the random nu
#!/bin/bash count=1 while [ $count -lt 200 ] do echo "Please gues the random number between 0 and 60 computer has chosen for you:" read number RANGE=60 num=$RANDOM let "num %= $…
#!/bin/bash echo -n \"Enter a string: \" read st if [ $st = \"CS ] then echo $st
#!/bin/bash echo -n "Enter a string: " read st if [ $st = "CS ] then echo $st else echo "IT" fi n=5 if [ $n < 0 ] then echo -n "Solution 1:" echo $n fi if [ $n == 5 ] then echo…
#!/bin/bash if [ $# -eq 0 ] then echo \"Three args required - need an infile, ou
#!/bin/bash if [ $# -eq 0 ] then echo "Three args required - need an infile, outfile, thirdfile" exit 1 fi ts=$(date +%s%N) openssl enc -e -des-cbc -salt -in $1 -out $2 -k nightha…
#!/bin/bash wordcount=$(wc -w \'pizza\') wordcountday=[$wordcount/20] wordcountd
#!/bin/bash wordcount=$(wc -w 'pizza') wordcountday=[$wordcount/20] wordcountdaypid=[$wordcountday/29447] echo $wordcountdaypid This is my script right now. I am trying to read a …
#!/bin/python3 import math import os import random import re import sys # # Comp
#!/bin/python3 import math import os import random import re import sys # # Complete the 'powerJump' function below. # # The function is expected to return an INTEGER. # The funct…
## Binary search trees Implement a [binary search tree](https://en.wikipedia.org
## Binary search trees Implement a [binary search tree](https://en.wikipedia.org/wiki/Binary_search_tree) that supports insert, search, and [traversal](https://en.wikipedia.org/wi…
Subject
Web development and programming
Use Browse or pick another subject.