logo

Crowdly

Browser

Додати до Chrome

Questions Bank (1442433 total)

Which of the following equations represents the resultant vector of two forces F_1 F_1 and F_2 F_2 acting at an angle  \theta \theta apart starting from the same origin? i.e. calculate F1 + F2. Refer to the image below for an illustration. Remember that when adding vectors, the tail of one vector needs to connect to the head of another.

0%
0%
0%
0%
Переглянути це питання

Match the following dimensions with the correct terms

Переглянути це питання

You have already copied the below mentioned chaos program (printed below for your convenience) into your lab0.py file on your computer. The program is taken from the book Python Programming: An Introduction to Computer Science, (Third Edition), John Zelle, Franklin Beedle

print("This program illustrates a chaotic function")

x = float(input("Enter a number between 0 and 1: ")) #taking input from user

for i in range(10):

    x = 3.9 * x * (1 - x)

    print(x)

    Modify the program to print more than 10 values of 'x'.

    Run the modified program. Select Run -> Run Module. 

    When the program asks user to input a value between 0 and 1, enter 0.15. What is the 18th value printed ?

    Переглянути це питання

    You have already copied the below mentioned chaos program (printed below for your convenience) into your lab1.py file on your computer. The program is taken from page 10 of the book Python Programming: An Introduction to Computer Science, (Third Edition), John Zelle, Franklin Beedle

    print("This program illustrates a chaotic function")

    x = float(input("Enter a number between 0 and 1: ")) #taking input from user

    for i in range(10):

        x = 3.9 * x * (1 - x)

        print(x)

    Modify the program so that it only prints the final value of x. Don't change the range.

    Run this program and try it with different input values. Select Run -> Run Module. 

    When the program asks user to input a value between 0 and 1, enter 0.33. What is the value of 'x' printed

    Переглянути це питання

    You have already copied the below mentioned chaos program (printed below for your convenience) into your lab0.py file on your computer. The program is taken from the book Python Programming: An Introduction to Computer Science, (Third Edition), John Zelle, Franklin Beedle 

    print("This program illustrates a chaotic function")

    x = float(input("Enter a number between 0 and 1: ")) #taking input from user

    for i in range(10):

        x = 3.9 * x * (1 - x)

        print(x)

      Modify the program using 2.0 in place of 3.9 in the expression.

      Run this program and try it with different input values. Select Run -> Run Module. 

      When the program asks user to input a value between 0 and 1, enter 0.5. What is the last value of 'x' printed

      Переглянути це питання

      Copy the chaos program (printed below for your convenience) into your lab0.py file on your computer. The program is taken from the book Python Programming: An Introduction to Computer Science, (Third Edition), John Zelle, Franklin Beedle

      print("This program illustrates a chaotic function")

      x = float(input("Enter a number between 0 and 1: ")) #taking input from user

      for i in range(10):

          x = 3.9 * x * (1 - x)

          print(x)

        Run this program and try it with different input values. Select Run -> Run Module. 

        When the program asks user to input a value between 0 and 1, enter 0.5. What is the first value of 'x' printed ?

        Переглянути це питання

        What does an element "i" in the Quiz Navigation block indicate?

        ❌
        ✅
        ❌
        Переглянути це питання

        Is there a penalty if you check a quiz question answer and it is wrong, or can you carry on to get full marks by making enough tries until you finally get it right?  In particular, what is a typical penalty (as a %) for checking a question and getting it wrong?  Enter your answer in the box below. 

        For example, if you think that there is no penalty, enter 0.  If you think that the penalty is 30% per check, enter 30. (Round your answer to 2 decimal places)

        Переглянути це питання

        How do you find out if your answer to a particular question is correct?

        ✅
        ❌
        ❌
        ❌
        Переглянути це питання

        Which of the following statements best describes the use of the "Submit all and finish" button and the rules that apply when you submit your entire lab quiz for marking. 

        0%
        0%
        0%
        Переглянути це питання