CS1010 Lab 01

CS1010 Lab 01

University

11 Qs

quiz-placeholder

Similar activities

PHP File Handling

PHP File Handling

University

12 Qs

Information Coding Scheme

Information Coding Scheme

1st Grade - University

10 Qs

assemblyLanguageChap3

assemblyLanguageChap3

University

10 Qs

Створення таблиць у базі даних

Створення таблиць у базі даних

11th Grade - University

14 Qs

TLE2 M4 Understanding Storage Devices & Capacities

TLE2 M4 Understanding Storage Devices & Capacities

University

15 Qs

DSA quiz 3 set 1

DSA quiz 3 set 1

University

10 Qs

C File Management

C File Management

University

10 Qs

Quantum Computing

Quantum Computing

8th Grade - University

10 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?