logo

Crowdly

Browser

Add to Chrome

Introduction to Bioinformatics (P-ITBIO-0009)

Looking for Introduction to Bioinformatics (P-ITBIO-0009) test answers and solutions? Browse our comprehensive collection of verified answers for Introduction to Bioinformatics (P-ITBIO-0009) at moodle.ppke.hu.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Question #29: What gets printed?

```python

def print_header(str):

print("+++" + str + "+++")

my_number = 1

my_text = "some info"

print_header("{} and {}".format(my_number, my_text))

```
View this question

Question #28: What gets printed?

```python

def addItem(listParam):

listParam += [1] mylist = [1, 2, 3, 4] 

addItem(mylist) 

print(len(mylist))

```
View this question

Question #26: What gets printed?

```python

names1 = ['Alpha', 'Bravo', 'Charlie', 'Delta']

names2 = names1

names3 = names1[:]

names2[0] = 'Echo'

names3[1] = 'Foxtrot'

my_sum = 0

for ls in (names1, names2, names3):

if ls[0] == 'Echo': my_sum += 10 if ls[1] == 'Foxtrot': my_sum += 1 

print(my_sum)

```

View this question

Question #27: What does the following code do?

```python

def a(b, c, d): pass

```
0%
0%
0%
0%
View this question

Question #19: What is the output of the below program?

```python

a = [1,"text",3,None,3+4j, {}, (),[],]

print(len(a))

```
View this question

Question #25: What gets printed?

```python

names = ['Alpha', 'Bravo', 'Charlie', 'Delta']

print(names[-1][3])

```
View this question
Question #18: Which numbers are printed?

```python

for i in range(3):

print(i) 

for i in range(-2,4):

print(i) ```
View this question

Question #17: What gets printed?

```python

x = True

y = False

z = False

if not x or y:

print(1) 

elif not (x or not y) and z:

print(2) 

elif not x or (y or not z) and x:

print(3) 

else:

print(4) ```
View this question

Question #20: What gets printed?

```python

name = "bio informatics"

print(name[4:8])

```
View this question

Question #16: What gets printed?

```python

x = True

y = False

z = True

if not x or y:

print(1) elif not x or not y and z:

print(2) elif not x or y or not y and x:

print(3) 

else:

print(4)```
0%
0%
0%
0%
View this question

Want instant access to all verified answers on moodle.ppke.hu?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome