CS1010 Lab 01

CS1010 Lab 01

University

11 Qs

quiz-placeholder

Similar activities

Reti

Reti

University

15 Qs

Revisão de Word (Brenno e João Paulo M.)

Revisão de Word (Brenno e João Paulo M.)

University

10 Qs

Microsoft Word - Shortcut Keys

Microsoft Word - Shortcut Keys

4th Grade - University

15 Qs

NEO LMS Training

NEO LMS Training

University

10 Qs

Logistic Regression

Logistic Regression

University

10 Qs

Quiz No. 3 II-CINS PNetSec (final term)

Quiz No. 3 II-CINS PNetSec (final term)

University

15 Qs

Linux基础

Linux基础

University

10 Qs

INF05005/11-LRE

INF05005/11-LRE

University

8 Qs

CS1010 Lab 01

CS1010 Lab 01

Assessment

Quiz

Computers

University

Medium

Created by

Gabriella Gloria

Used 4+ times

FREE Resource

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct file extension for C source files?

.java

.c

.cpp

.cfile

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a basic data type in C?

integer

real number

character

string

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Consider the function foo().  What is the value of b at Line A?

foo() causes an error.

value of variable b cannot be determined

b contains the value of 15

b contains the value of 5

b contains the value of 75

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a flowchart, which symbol is used to represent a decision point?

diamond

rectangle

oval

arrow

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What function would calculate the weighted mean given a list L and weights W :

  • divide(sum(multiply(L, W)), W)

  • multiply(mean(L), mean(W))

  • divide(sum(multiply(L, W)), sum(W))

  • sum(divide(multiply(L, W), W))

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Given the mathematical function for the variance of a list L :
Which function represents this operation?

  • mean(subtract(L, square(mean(L))))

  • sum(square(subtract(L, mean(L))))

  • divide(square(subtract(L, mean(L))), n)

  • mean(square(subtract(L, mean(L))))

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

For the operation of standardizing a list L, which function is correct?

  • divide(L, stddev(L))

  • subtract(L, mean(L))

  • divide(subtract(L, mean(L)), stddev(L))

  • divide(subtract(L, stddev(L)), mean(L))

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?