Online Course on Python for Data Science with Certificate

Organizer: Congnitive Class with IBM Developer Skills Network.

This introduction to Python will kickstart your learning of Python for data science, as well as programming in general. This beginner-friendly Python course will take you from zero to programming in Python in a matter of hours.
Upon its completion, you’ll be able to write your own Python scripts. If you want to learn Python from scratch, this course is for you.

This introduction to Python will kickstart your learning of Python for data science, as well as programming in general.
This beginner-friendly Python course will take you from zero to programming in Python in a matter of hours.
Upon its completion, you’ll be able to write your own Python scripts and perform basic hands-on data analysis using our Jupyter-based lab environment. If you want to learn Python from scratch, this course is for you.

About the Course

  • Estimated Effort: 18 Hours
  • Level: Beginner
  • Skills You Will Learn: Data Science, Python
  • This course is self-paced.
  • It can be taken at any time.
  • It can be audited as many times as you wish.
  • There is only ONE chance to pass the course, but multiple attempts per question
  • RECOMMENDED SKILLS PRIOR TO TAKING THIS COURSE: Basic Math.
  • Completion Certificate and Badge.

Apply Link

Course on Python for Data Science SYLLABUS

Module 1 – Python Basics
Your first program
Types
Expressions and Variables
String Operations

Module 2 – Python Data Structures
Lists and Tuples
Sets
Dictionaries

Module 3 – Python Programming Fundamentals
Conditions and Branching
Loops
Functions
Objects and Classes

Module 4 – Working with Data in Python
Reading files with open
Writing files with open
Loading data with Pandas
Working with and Saving data with Pandas

Module 5 – Working with Numpy Arrays and Simple APIs
Numpy 1D Arrays
Numpy 2D Arrays
Simple APIs
API Setup

Exam Instructions : Course on Python for Data Science

  1. This exam is worth 50% of your entire grade for the course
  2. There is no pass/fail for the exam itself, but the grade you get will affect your overall passing grade for the course
  3. Time allowed: 1 hour.
  4. Attempts per question:
    • One attempt – For True/False questions
    • Two attempts – For any question other than True/False
  5. Clicking the “Final Check” button when it appears, means your submission is FINAL.  You will NOT be able to resubmit your answer for that question ever again
  6. Check your grades in the course at any time by clicking on the “Progress” tab

100% Correct Answers Available Here

1) What is the result of the following operation 3+2*2?

3
12
9
7

2) What is the type of the following variable: True?

int
bool
str
list

3) What is the result of the following operation int(3.2)?
3.2
3
4
‘3.2’

4) onsider the string A=’1234567′, what is the result of the following operation: A[1::2]

‘1234567’
‘246’
‘1357’
error

5) Consider the string Name=”Michael Jackson” , what is the result of the following operation Name.find(‘el’)

5
5,6
-1

6) The variables A=’1′ and B=’2′ ,what is the result of the operation A+B?

you cant add two strings
3
‘3’
’12’

7) Consider the variable F=”You are wrong”, Convert the values in the variable F to uppercase?

F.up()
F.upper
F.upper()

8) Consider the tuple tuple1=(“A”,”B”,”C” ), what is the result of the following operation tuple1[-1]?

“A”
“B”
“C”

9) Consider the tuple A=((11,12),[21,22]), that contains a tuple and list. What is the result of the following operation A[1]:

((11,12),[21,22])
(11,12)
(21,22)
[21,22]

10) Consider the tuple A=((11,12),[21,22]), that contains a tuple and list. What is the result of the following operation A[0][1]:

12
11
22
21

11) What is the result of the following operation ‘1,2,3,4’.split(‘,’)

‘1’,’2′,’3′,’4′
(‘1′,’2′,’3′,’4’)
[‘1′,’2′,’3′,’4’]
‘1234’

12) Concatenate the following lists A=[1,’a’] and B=[2,1,’d’]:

A+B
A-B
A*B
A/B

13) How do you cast the list ‘A’ to the set ‘a’?

a.set()
a=A.append()
a=A.dict()
a=set(A)

14) Consider the Set: V={‘A’,’B’}, what is the result of V.add(‘C’)?

{‘A’,’B’}
{‘A’,’B’,’C’}
{‘AC’,’BC’
error

15) Consider the Set: V={‘A’,’B’,’C’ }, what is the result of V.add(‘C’)?

{‘A’,’B’}
{‘A’,’B’,’C’}
{‘A’,’B’,’C’,’C’}
error

16) What is the output of the following lines of code:

x=”Go”
if(x!=”Go”):
print(‘Stop’)
else:
print(‘Go ‘)
print(‘Mike’)

Go Mike
Mike
Stop Mike
The Mike

17) What is the output of the following lines of code:

x=”Go”
if(x==”Go”):
print(‘Go ‘)
else:
print(‘Stop’)
print(‘Mike’)

Go Mike
Mike
Stop Mike
The Mike

18) how many iterations are performed in the following loop?
for n in range(3):
print(n)

1
2
3
4

19) What does the following loop print?
for n in range(3):
print(n+1)

0 1 2
1 2 3
3 2
2 1 0

20) What is the output of the following few lines of code ?
A=[‘1′,’2′,’3’]
for a in A:
print(2*a)

2 4 6
‘2’ ‘4’ ‘6’
’11’ ’22’ ’33’
A B C

21) Consider the function add, what is the result of calling the following Add(‘1′,’1’) (look closely at the return statement )
def Add(x,y):
z=y+x
return(y)

error
‘2’
’11’
‘1’

22) Consider the class Points, what are the data attributes:
class Points(object):
def init(self,x,y):
self.x=x
self.y=y
def print_point(self):
print(‘x=’,self.x,’y=’,self.y)

init
self.x self.y
print_point

23) What is the result of running the following lines of code ?
class Points(object)
def init(self,x,y):
self.x=x
self.y=y
def print_point(self):
print(‘x=’,self.x,’ y=’,self.y)
p1=Points(1,2)
p1.print_point()

x=1
y=2
x=1 y=2

24) What is the result of running the following lines of code ?

class Points(object):
def init(self,x,y)
self.x=x
self.y=y
def print_point(self):
print(‘x=’,self.x,’ y=’,self.y)
p2=Points(1,2)
p2.x=2
p2.print_point()

x=1
y=2
x=1 y=2
x=2 y=2

25) Consider the following line of code: with open(example1,”r”) as file1:
What mode is the file object in?

read
write
append

Leave a Reply

Scroll to Top