Top answers


What is the difference between let and var when declaring variables in javascript?

Both let and var create mutable (re-assignable) variables in JavaScript. Both follow the same initalisation pattern as well:var a = 123;let a = 123;The difference between let and var comes down to something ...
LB
Answered by Luke B. Javascript tutor
1739 Views

There are 5 girls, 6 boys and some adults in a classroom. The probability that a girl is chosen is 1/3. What is the probability of an adult being chosen?

This is a question taken straight out of an Edexcel exam paper. I think it's a good test of GCSE level probability and algebra. We don't know how many adults there are to begin with so let's say n = number o...
JM
Answered by Jack M. Maths tutor
10334 Views

John is n years old where n is an whole number. Kim is three years younger than John and Vanessa is half of Kim's age. Write an expression for Vanessa's age in terms of n.

Just to make things easier to write I will be using some letters to mean things.I will write:J = John's ageK = Kim's ageV = Vanessa's age.So John is n years old so John's age is n --> J = n. Kim is three ...
JM
Answered by Jack M. Maths tutor
5323 Views

What is the remainder when you divide 2x^3+7x^2-4x+7 by x^2+2x-1?

Before we answer the question let's compare the method taught for polynomial long divison to regular long division.If we wanted to find the remainder of 71 when divided by 3, we would find the nearest whole ...
JM
Answered by Jack M. Maths tutor
4758 Views

What are the different types of RNA used for during translation?

Translation occurs at the ribosomes (which may be attached to endoplasmic reticulum). The ribosomes themselves are made of rRNA.mRNA carries the code for the polypeptide as it is complimentary to a strand of...
RM
Answered by Roshni M. Biology tutor
3038 Views