Top answers


When do I use être when forming the perfect tense?

It can seem confusing when deciding whether to use avoir or être to form the perfect tense. As a rule of thumb the conjugated form of avoir is used except with: a)Reflexive verbs.Eg: se lever - to get up je ...
IW
Answered by Isobel W. French tutor
1283 Views

Describe the time complexity for the search operation in a binary search tree.

Since the question asks for the time complexity we should consider both the average and the worst time complexities. In a binary search tree the values are sorted such that for each node the elements bigger ...
VA
Answered by Volf A. Computing tutor
5619 Views

What is the imperative mood and how do you form it?

The imperative mood in French is used to give commands and make suggestions, and translates into English as the commanding "do this!" or the suggestive "let's...". The commanding imperati...
TU
Answered by Thomas U. French tutor
2725 Views

Explain how python programs are structured and give an example of how methods are initiated

Python programs like most declarative programming languages are made up of small subroutines called "methods". To set-up an example program, you need to define a method (eg. def someMethod(): ) and...
PO
1860 Views

Write a python function that takes a string as parameter and returns the character in the string with the most occurrences, along with the number of times this character occurs

Create the function and 2 variables: max and counter. Set the value of max to an empty string: "", and the value of counter to 0. Then iterate over the characters in the parameter string using a fo...
VA
Answered by Volf A. Python tutor
2425 Views