Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
Write and code a program that reads a list of location pairs with their distance and finds the shortest path from A to Z.
Create a program using Pep9 named switch.pep and write an assembly language program to simulate execution of a C++ switch statement.
Which programs might benefit from applying the batching strategy to its file I/O, program1, program2, both, or neither?
Write a program that will be able to determine which of the two numbers is smaller. the program should print "number 1 is smaller" if the first integer is indee
Design and test a Lisp function select training set with repeats that takes as argument an integer k and returns a list of k instances from *examples* that are
Create the follow program using Raptor. Use the concepts, techniques and good programming practices that you have learned in the course.
Investigate the effect of clouds on the temperature. How the clouds would affect the temperature with some concentration of Greenhouse gases.
Use character arithmetic to rite a c++ (one line of code) that will output the number of non white-space characters before the '0' character.
Segment Tree & Binary Search Tree. How efficient is the creation Trie vs Segment Tree vs Binary Search Tree.
Write class named Macys that holds data about an item in a retail store. The class should have the following member variable:
Write function which returns an arbitrary shuffle of a pair of lists. Should give the uniform distribution on all possible interleavings of ys with zs.
Create a new C++ program, you will copy and paste your full program code into the Answer box for the question. Note: Code must be in the main function only.
What is the algorithmic complexity of accessing an element in the middle of a dynamically allocated array?
This is where some of the unsupervised learning algorithms like Clustering come into play. Can you think of other business applications for Clustering?
For this problem, you will use pointers to write a program that asks the user to enter the name, birth city and year of birth for five family members.
For this problem, you will build a simple airline reservation system. The system will ask the user how many seats they would like to reserve.
Draw a representation of the first task in the problem with different examples (make sure one has a cycle in it) to ensure you understand the problem.
Write a program that uses the & operator to display a STRING variable's address and the sizeof operator to display the size.
Write a template for a function called countItemFrequency that accepts as parameters a vector and a value which may be contained in the vector.
Assume that the values of each element of a vector V (e.g., V[0], V[!]. V[2], ....). Write a code (using for- loop) to compute the 10th element of vector V.
Create a C++ program that keeps track of customers and balances owed. Overwrite the data file for each time the program is ran.
Develop a forecasting procedure for this workstation. Justify why do I use this method? Prepare an executive summary of the forecast with the observed risks.
Create an Application named QutChampionship that uses the Athlete class and performs the following tasks.
Create an Athlete class with the event codes are T, B, S, R and G, corresponding to categories Tennis, Badminton, Swimming, Running and Gymnastics.
Write a C program with the required number of pipe() and fork() system calls to implement the following piping mechanism: $ ls /bin|grep sh|wc -w