Backend Developer Test

Pre-Employment Tests

Backend Developer Test

Welcome to Backend Developer Test. Please attend the quiz in a quite place and with a stable internet connection. An use of unauthorized medium or any unfairness will violate the exam policy.

1 / 40

Category: Django

 1. What is a Django App?

2 / 40

Category: Django

2. Which architectural pattern does django follow?

3 / 40

Category: Django

3. What does {{ name }} this mean in Django Templates?

4 / 40

Category: Django

4. Which of these variables are the settings for django.contib.staticfiles app?

5 / 40

Category: Django

5. Which of the following is a valid forloop attributes of Django Template System?

6 / 40

Category: Django

6. Which of the following is the Django shortcut method to more easily render an HTML response?

7 / 40

Category: Django

7. What is the Django command to view a database schema of an existing (or legacy) database?

8 / 40

Category: Django

8. Django was designed to help developers take applications from concept to completion as quickly as possible.

9 / 40

Category: Django

9. What does {% include %} does?

10 / 40

Category: Django

10. What is Post.objects.all() is used for?

from post.models import Post m = Post.objects.all() for i in m: print(i) post1 post2 Django is awesome

11 / 40

Category: Django

11. What would variable m output

from post.models import * m = Post.objects.filter(post_heading=”post1″) m

12 / 40

Category: Django

12. In Post.models.filter() you can pass multiple parameters in filter() to narrow your result/s.

13 / 40

Category: Django

13. What will happen on execution of this command : > python manage.py createsuperuser

14 / 40

Category: Django

14. What are request.GET and request.POST objects?

15 / 40

Category: Django

15. Which code will give us a text area form field?

16 / 40

Category: Django

16. Suppose you want to count the number of books in Django. books = Book.objects.all() Which implementation would be fastest?

17 / 40

Category: Django

17. Which of these commands is not a management command of staticfiles?

18 / 40

Category: Django

18. What data types and objects are not accepted as an argument by Paginator class?

19 / 40

Category: Django

19. Which of these is not a valid method or approach to perform URL resolution?

20 / 40

Category: Django

20. Which of these is not a valid backend for caching in Django?

21 / 40

Category: Python

1. What is the method inside the class in python language?

22 / 40

Category: Python

2. Which character is used in Python to make a single line comment?

23 / 40

Category: Python

3. Which of the following statements is correct regarding the object-oriented programming concept in Python?

24 / 40

Category: Python

4. Which of the following declarations is incorrect in Python?

25 / 40

Category: Python

5. Study the following program:

a = 1 while True: if a % 7 = = 0: break print(a) a += 1

Which of the following is correct output of this program?

26 / 40

Category: Python

6. How is memory managed in Python?

27 / 40

Category: Python

7. To open a file c:scores.txt for writing, we use

28 / 40

Category: Python

8. When will the else part of try-except-else be executed?

29 / 40

Category: Python

9. What is the output of the following?

f = None

for i in range (5):

with open("data.txt", "w") as f:

if i > 2: break

print f.closed

30 / 40

Category: Python

10. Suppose list1 is [2, 33, 222, 14, 25], What is list1[-1] ?

31 / 40

Category: Python

11. Which of the following is an invalid statement?

32 / 40

Category: Python

12. What is the maximum possible length of an identifier?

33 / 40

Category: Python

13. Which of the following statements create a dictionary? (Multiple Correct Answers Possible

34 / 40

Category: Python

14. What are the built-in types of python? (Multiple Correct Answers Possible)

35 / 40

Category: Python

15. What is the usage of help() and dir() function in Python?

36 / 40

Category: SQL

1. Which Data Manipulation Command Is Used To Combines The Records From One Or More Tables?

37 / 40

Category: SQL

2. Sql Permits Attribute Names To Be Repeated In The Same Relation.

38 / 40

Category: SQL

3. Which Statement In Sql Allows Us To Change The Definition Of A Table Is?

39 / 40

Category: SQL

4. Which Of The Following Is The Correct Order Of Occurrence In A Typical Sql Statement?

40 / 40

Category: SQL

5. Which Of The Following Is True For A Primary Key?

0%