TalosBDD
This & That
Python
Git
100

For what do we need pip?

management of libraries

100
Who is the creator of LINUX?

Linus Torvalds

100

How do you create multiline comments in Python?

"""
multiline
comment
"""

or
'''
multiline
comment
'''

100

What is the golden rule of commit?

One topic, one commit or Only commit related changes!

200

How can i search all in PyCharm?

Double Shift

200

List at least three characteristics of Gherkin format!

  • simple syntax
  • no programming knowledge needed
  • supports multiple languages
  • stable
  • only small set of keywords
  • business readable specifications which can be used as automated tests and application documentation
200

Which character can be used as a thousands separator in Python?

 _ (underscore)

200

What is the file .gitignore good for?

.gitignore list files and folders Git has to ignore

300

How can you upload evidences from TalosBDD to ALM or octane after a run?

in the terminal in PyCharm you can enter:

python tools.py post-alm

python tools.py post-octane

300

Given is:
for i in range(1, 7, 2):
    print(i)

What do we see?

1
3
5

300

Are there data types in Python?

Yes (Boolean Types, Numeric Types, Sequence Types,...)

300

What is the difference between git revert and git reset?

git revert inverts the specified commit in a new one (new commit is created), git reset moves the HEAD pointer to the specified revision

400

For what do we need the __init__ method in Python?

The __init__ method is the method that will be called directly after the constructor in Python and is used to instantiate the needed variables when creating an object

class Roboter: 

  def __init__(self, name, year): 

    self.name = name 

    self.year= year

400

What is the "git checkout <hash> <file>" pendant in PyCharm?

"Get Revision..." on a file

400

What does the venv directory include?

Libraries, Python version

400

How many areas exist in Git and what are their names?

3 - working copy, staging area, local repository/commit area/Git repository

500

What is the output of method  vars()?

The properties of the object.

500

What types of scenarios do exists?

- illustrative scenarios

- journey scenarios

500

List two classes of control structures in Python with example!

- Loops (for, while)

- Conditions (if, if-else, if-elif-else, match case)

- function call

500

Git command to create a branch and switch directly into it?

git checkout -b <branchname>