[solved] – Question 91523
the probability that a student is accepted to a prestigious college is 0.3. if 5 students from the same school apply,what is the probability that at most 2 are accepted?
Expert Answer
[solved] – Question 9153
a C++ program that will have a visual interface for a student info
system that will record a student ID first name, middle, intial last name, DOB, phone #,
address and email.
Expert Answer
[solved] – Question 91556
Given the line coordinates (1, 2), (2, 3). Do the following operations on the given coordinates, entailing what occurs in the output.
•Rotation of the line by 45 degrees about its center (5, 3)
•Translate the line by (7, 2)
•Scale the line by 3 in x and 2 in y
Expert Answer
[solved] – Question 91566
joe’s mean marks for physics tests for the term was 72. his teacher decided to scale all the marks according to the formla y=2*.6,where y is the new marks and x the original mark.find joe’s new mean mark.
Expert Answer
[solved] – Question 9164
Exercise 1 – Arrays
Write a C++ program that asks the user to enter a number n followed by n words. These words will be
stored in an array. The program will read the content of the array and make the following changes:
‐ The words that have 4 characters or less will be changed by the word invalid
‐ The words that have 5 characters or more will be transformed as follows: The first and the last
characters will remain the same. However, the other characters will be transformed into stars
(*)
The program will display at the end the new content of the array as well the percentage of words that
have been changed into the word invalid.
Expert Answer
[solved] – Question 9166
How to create a simulation which
will determine under what conditions the pacification and re-education policy will be needed. A recent
decision has stated that if the average risk of districts which contain both populations is above 6 then
the policy will be needed?
There is a 14% chance of a given district in the Unity containing a Schlaraffenland population and a
17% chance of it containing a Cockaigne population. Where present the population can be anywhere
between 1 – 10.
Your simulation must display a randomly initialised scenario (all three grids) and state if the policy
needs to be implemented.
Expert Answer
[solved] – Question 91665
Assume you have an IP network connection with the following characteristics:
• 97% of packets reach their destination correctly in less than 50ms
• 1% of packets reach their destination correctly in more than 50ms but less than 10,000ms.
• 1% of packets are lost in transit
• 1% of packets arrive at their destination in less than 50ms but have one or two random single-bit errors.
For each of the following applications, indicate and explain your decision whether it would be best to use TCP with checksum, or UDP with checksum, or UDP without checksum:
(a) A live audio / video chat system like Skype
(b) A general purpose network file system such as NFS: https://en.wikipedia.org/wiki/Network_File_System
(c) Remote control of a bomb disposal robot (each packet contains an array of floating-point numbers indicating the current desired location of the robot)
Expert Answer
[solved] – Question 91672
Translate the following sentences into a Prolog program smart.pro:
Messi teaches Prolog language.
Prolog is a programming subject.
Nabil teaches Algebra.
Algebra is a Mathematics subject.
Everyone who teaches a programming subject is smart.
Consult the above program and query Prolog: “Who are smart”? Print screen and submit the output.
Expert Answer
[solved] – Question 917
I need help with how to set the height of the viewing area to one pixel less
than the y-position of our dividing line and how to position the thumbCanvas thumbnail container movie clip as shown in the .swf setting its x and y properties??
Code:
import fl.transitions.Tween;
import fl.transitions.easing.*;
import fl.transitions.TweenEvent;
var numPics:Number;
var thumbIndex:Number = 0;
var thumbRowCount:Number = 6;
var numThumbsX:Number = 0;
var numThumbsY:Number = 0;
var xSpacing:Number = 115;
var ySpacing:Number = 110;
var largePics:Array = new Array();
var thumbPics:Array = new Array();
var thumbCanvas:MovieClip = new MovieClip();
addChild(thumbCanvas);
var picCanvas:MovieClip = new MovieClip();
addChild(picCanvas);
// set the height of our viewing area to one pixel less
// than the y-position of our dividing line
// position the thumbCanvas thumbnail container movie clip as shown in the .swf
// setting its x and y properties
Expert Answer
[solved] – Question 91726
Implement a class Student.For the purpose of this exercise, a student has a name and
a total quiz score.Supply an appropriate constructor and functions get_name(),
add_quiz(int score), get_total_score(), and get_average_score().To compute the latter,
you also need to store the number of quizzes that the student took.
Expert Answer

