When to use ist geworden and ist worden?

  • ist geworden is used for active sentences.

Es wird heiß (present)

Es ist heiß geworden (participle perfekt)

Sie wird Ärztin. (present)

Sie ist Ärztin geworden. (participle perfekt)

  • ist worden is used for passive sentence.

Das Auto wird repariert. (present)

Das Auto ist repariert worden. (participle perfekt)

Die Tür wird geschlossen. (present)

Die Tür ist geschlossen worden. (participle perfekt)

Nachdem or Nach dem- How to use?

When can I use nachdem or nach dem in a sentence? Let’s understand the basic difference between both

Nachdem

Nachdem is a subjunktion / conjunction, connecting two sentences, with no effect on the cases but pushes the verb to the end.

Connects to verbs (Actions).

Wir sehen uns nachdem der Film beginnt.

Nachdem Maria Yoga gemacht hat, meditiert sie.

Anna trinkt immer einen Smoothie nachdem sie trainiert hat.

Nach

Nach is a dative preposition and therefore it affects the case of the noun (dative) that comes after but it does not affect the verb position.

Connects to noun.

Nach dem Yoga meditiert Maria.

Wir sehen uns nach dem Film

Anna trinkt nach dem Training immer einen Smoothie

I hope now you can understand the difference between nachdem and nach dem. If you have any questions please leave your queries in comments.

Verben mit Präfixen-steigen

Already we have posted a blog on verben mit präfixen with words ziehen and sagen. If you are interested you can refer those , i will give the link at the end of this blog. Now let’s get started!

steigen, stieg, ist gestiegen – rise, increase

Die Zahl der Unfallopfer im Straßenverkehr ist gestiegen.

Die Preise steigen von Jahr zu Jahr

einsteigen – to get on/in

Wir steigen jetzt in die U-Bahn ein.

Die Frau steigt vorne in den Bus ein.

aussteigen -to get out/off

Die Touristen steigen in Berlin aus.

Ich steige aus dem Bus aus.

umsteigen – to change/ switch from one to another

Am nächsten Bahnhof müssen wir umsteigen.

Ich steige hier um.

absteigen – to descend (climbing), to take off (bike)

Tom stieg vom Motorrad ab.

Ich steige vom Fahrrad ab.

übersteigen – to exceed, surpass

Die Einnahmen übersteigen die Schulden.

Das Problem übersteigt meine Möglichkeiten.

aufsteigen – to rise up, to move up

Er stieg zum Minister auf.

Sie will als Stern aufsteigen.

ansteigen – to rise, to have an incline

Der Benzinpreis steigt unaufhörlich weiter an.

Die Arbeitlosenrate auf 5% angestiegen.

zusteigen – to enter a transportation vehicle (bus/ train)

Ist jemand zugestiegen?

Er wird als Letzter zusteigen.

10 Conjuctions that send the verb to the end in German

1. dass – Ich freue mich, dass du die Prüfung besttanden hast.

2. weil – Ich gehe nach Hause, weil ich müde bin.

3. während – Ich esse, während ich einen Film sehe.

4. da – Sie geht ins Bett, da sie müde ist.

5. damit – Ich esse viel Obst, damit ich gesund bleibe.

6. obwohl – Sofia fährt an den Strand, obwohl es regnet.

7. wenn – Ich gehe nicht zum Strand, wenn das Wetter nicht gut ist.

8. bevor – Ruf mich an, bevor du gehst.

9. ob – Schreib mir bitte, ob du zu Hause bist.

10. bis – Ich bleibe, bis er das Geld bringt.

Do you know anyother conjunctions that send verb to the end? Comment your answers.

CRUD operations in SQL

CRUD operations in SQL

            CRUD is an acronym that stands for Create, Read, Update and Delete.

Each letter in acronym refers to all functions executed in a database and mapped to standard HTTP method, SQL statement. CRUD is data-oriented and standardized use of HTTP action methods. This consists of four basic operations which we can perform in a Database table.

Each letter in CRUD corresponds to HTTP request method.

  • Create –> POST
  • Read –> GET
  • Update –> PUT or PATCH
  • Delete –> DELETE

Create:

Create means to add or insert data into the table. First we will create table using CREATE TABLE command and then add data using INSERT INTO command.

SQL Command to create table:

CREATE TABLE employee(EmpID int PRIMARY KEY, FIRST_NAME VARCHAR, Salary INT);

SQL command to insert data:

INSERT INTO employee(EmpID, FIRST_NAME, Salary) VALUES (1, ‘Anna’, 10000), (2, ‘Maria’, 20000), (3, ‘Thomas’, 30000);

EmpIDFIRST_NAMESalary
1Anna10000
2Maria20000
3Thomas30000

Read:

            Read means retrieving or fetching data or information from the table. We will use SELECT command to fetch data from the table. There is also an option of retrieving only those records which satisfy a particular condition by using the WHERE clause in a SELECT query.

SQL command to fetch data:

SELECT *from employee;

Update:

            Update operation makes changes in the table by modifying the data. We will use UPDATE command to make changes in the data present in tables.

SQL command to Update records:

Update employee SET EmpID = 4 WHERE First_Name = ‘Thomas’;

Delete:

            Delete operation deletes the records from table. We can delete all the rows or a particular row using DELETE query.

SQL command to delete records:

DELETE FROM employee where Salary = 10000;

These are the basic CRUD operations in SQL. We also have another article about CRUD operation in Python. If you are interested you can go and check the article.

Difference between klingen und klingeln

Now we will see about often mistaken and exchanged words in German by learners.

klingeln – to ring

Jemand klingelt an der Tür.

Klingelt mein Handy, wenn mich jemand anruft.

Du klingelst die Glocke.

klingen – sound / hear

Das klingt gut.

Du klingst wie meine Oma

Das Klavier klingt verstimmt.

Do you know any other confusing German words? Leave your comment!

6 False friends in German language

False friends or falsche freunde are usually words which lead to misunderstanding of its meaning which they use to be in english and you are more familiar with it. Have you come across any such tricky words while learning the language? Let’s see some now!

1. der Chef / die Chefin – boss

the chef – der Koch / die Kochin

2. spenden – donate

to spend – ausgeben

3. die Rente – pension

the rent – die Miete

4. das Gift – poison

the gift – das Geschenk

5. die Fabrik – factory

the fabric – der Stoff

6. bekommen – to receive

to become – werden

If you know any other false friends in German language, leave your comments in comment section.

5 Python one liners that speed up code

What is a one liner?

You can think of one liner code as a block or segment of code compressed in one line to perform the similar function. This one liner saves you a lot of time, memory and you can also trick your friends or fellow programmers. It also keeps your program simple, clean, short and simple with less lines of code.

            One need to be careful by using them, while Python is known for its ease of understanding and readability. You should keep in mind not to violate this feature.

Now let’s start!

  • For loop in one line

If for loop is used in a list then use the below one.

  • Swap variables
  • Fibonacci
  • Reverse a string
  • Print a pattern

These are some of the one liners in Python. Many more are there it’s always exciting while learning a new language to try these sorts of things. If you know any other one liners in Python leave your comment below.

TeKaMoLo- German Sentence Structure

TeKaMoLo is the most important and basic theory or rule one needs to understand for better and meaningful sentence formation in German.

TeKaMoLo answers the following questions.

Wann ist es passiert? ( When did it happen?) – Temporal

Warum ist es passiert? (Why did it happen?) – Kausal

Wie ist es passiert? (How did it happen?) – Modal

Wo ist es passiert? (Where did it happen?) – Lokal

Now let us see this with an example

Ich lerne am Wochenende wegen meiner Prüfung sehr intensiv in der Bibliothek.

Temporal – Wann? – am Wochenende

Kausal – Warum? – wegen meiner Prüfung

Modal – Wie? – sehr intensiv

Lokal – Wo? – in der Bibliothek

This simple rule helps us in better building the long and complex sentences in german correctly.