option
Questions
ayuda
daypo
search.php

Django and Angular

COMMENTS STATISTICS RECORDS
TAKE THE TEST
Title of test:
Django and Angular

Description:
Question Bank for FullStack Web Development with Django and Angular

Creation Date: 2021/06/26

Category: Computers

Number of questions: 127

Rating:(11)
Share the Test:
Nuevo ComentarioNuevo Comentario
New Comment
NO RECORDS
Content:

The code that you use to structure your web content and give it meaning and purpose. For example, paragraphs, images, and more... HTML. CSS. JavaScript. None of the above.

The code that you decorate to style your website (No repeat). HTML. CSS. JavaScript. None of the above.

The programmin langua e that you use to add interactive features to your website. It is a full-fledged dynamic programming language that, when applied to an HTML document, can provide dynamic interactivity on websites. HTML. CSS. JavaScript. None of the above.

How to do migrations in Django?. A- Python manage.py makemigrations <app name>. B- Python manage.py migrate <app name>. C- Both A and B. D- None of the above.

What is Django Web Framework ( Python)?. A- It is fully featured server-side web framework. B -Written in Python. C -Is an open-source python web framework. D- All of the above.

The web server is called "dynamic" because. A - The application server updates the hosted files before sending them to your browser via the HTTP server. B The server sends its hosted files "as-is" to your browser. C A and B. D None of the above.

The web server is called "static" because. A - The application server updates the hosted files before sending them to your browser via the HTTP server. B The server sends its hosted files "as-is" to your browser. C A and B. D None of the above.

An HTTP server is a piece of software that understands URLs (web addresses). True. False.

Does Django supports (Post reSQL, MySQL, Oracle, and SQLite ) databases ?. True. False.

Django Models are Python objects that define the structure of an application's data. True. False.

Django Views are Python objects that define the structure of an application's data. True. False.

In Django a view is a request handler function, which receives HTTP requests and returns HTTP responses. True. False.

In Django A/An Models is a request handler function, which receives HTTP requests and returns HTTP responses. True. False.

In Django a URL mapper is used to redirect HTTP requests to the appropriate view based on the request URL. True. False.

In Django a View mapper is used to redirect HTTP requests to the appropriate view based on the request URL. True. False.

Django is a high-level Python web application framework that enables the rapid development of web applications. True. False.

View: This component contains the UI logic of the web-application (HTML, CSS and JS frontend technologies), or that you see in the browser whenever you visit a website. True. False.

The API’s main task is to receive data from other applications and provide them to the backend. This data is usually inJson format. True. False.

Model: A logical data structure behind (database). It is the part of the web-app which acts as a mediator between the website interface (view or UI component) and the database ( dataset ). True. False.

Django REST Framework is a framework built upon the.NET Framework. True. False.

Django is written in java language. True. False.

The Django command to start a new app named “employees” in an existing project is manage.py –startapp employees. True. False.

The architectural pattern does Django follow is MVT?. True. False.

In a RESTful API, endpoints (URLs) define the structure of the API and how end users access data from our application using the HTTP methods: GET, POST, PUT, DELETE. True. False.

When url.py file is edited while the development server is still running, the Development server terminates. True. False.

urls.py file do in Django It contains URL matching patterns and their corresponding view methods. True. False.

Create new applications task can be performed with manage.py?. True. False.

Client is the is a computer that store websites. True. False.

Client is the is a user’s internet-connected device. True. False.

Server is A computer that store websites. True. False.

Server sends to client requests. True. False.

Angular library modules are is a collection of JavaScript modules. True. False.

Angular instructions written in typescript and compiled into JavaScript. True. False.

Angular is usually seen as modern web technology because browsers can understand its typescript language directly. True. False.

Unlike in TypeScript, Programmers in JavaScript can apply inheritance while creating a class. True. False.

Angular programmers can be described as a high-level JavaScript Programmers. True. False.

In TypeScript, we declare variables of the same types as you would expect in JavaScript. True. False.

In angular routing is managed in a file named urls.py. True. False.

There are more than ten Angular versions over there and many frameworks similar to it doing the same work. True. False.

Unlike Angular, A web server is usually required to run Django application. True. False.

However, Django is a python web framework, some applications developed using it can work without python. True. False.

Angular follows modularity. Similar functionalities are kept together in same modules. This gives Angular a lighter & faster core. True. False.

the most notable difference between a regular website and SPA is the reduced amount of page refreshes. True. False.

There are three classes of Angular that can contain view: components, directives, and pipes. True. False.

Any angular module is a class with @NgModule decorator. True. False.

SPA’s are applications that are accessed via a web browser like other websites but offer more dynamic interactions resembling native mobile and desktop apps. True. False.

Angular templates are static. True. False.

Client sends to server requests. True. False.

To compile a file in TypeScript, use js FileName.ts. True. False.

Providers: Services present in one of the modules which are not to be used in the other modules or components. True. False.

To run the Test.js program writtenIn TypeScript, use tsc Test.js. True. False.

To Become familiar with a full stack web developer is not a person who can develop both client and server software. True. False.

To Understand the principles of creating an effective web page, including an in-depth consideration of information architecture. True. False.

MAIN_URLCONF contains the parameter of main-urls file. True. False.

__init__.py in project directories is used to initialize any empty values. True. False.

url() is used instead of path() in urls.py to pass in regular expressions as routes. True. False.

In setting, the value of DEBUG when website is online/ or deployed is Null. True. False.

Using ‘created = models.DateTimeField(auto_now=True)’ to create a DateTimeFieldnamed created and filled in only on the creation with the current time. True. False.

urls.py contains site deployment data such as server names and ports. True. False.

Structural changes to project database tables to reflect changes to data models is done by migrations automate. True. False.

80 is the default PORT used by built in webserver in DJANGO. True. False.

database_server is needed to set in settings.py, to tell Django which HOST to use when connect to the database. True. False.

What is the name of the command-line tool that Django provides for managing a newly-created project and its applications?. django-admin. manage.py. apachectl. Pip.

We can run the development web server usin. python manage.py runserver. Python runserver. Python manage.py. None of the above.

……….. is Application Programming Interface used by two applications trying to communicate with each other over a network or Internet. API. Web Service. Single Page Application. None of the above.

The API’s main task is to receive data from other applications and provide them to the backend. This data is usually in ……… format. – JSON. – HTML. – CSS. – ASCCII.

What are true about RESTful APIs?. REST stands for Representational State Transfer. REST is an architecture on which we develop web services. RESTful APIs return JSON files which can be interpreted by a variety of devices. All of above.

What is Djan o REST Framework (DRF)?. DRF is a framework built upon the Django Framework. DRF is a tool which alongside Django is used to develop RESTful APIs. DRF increases the development speed. All of above.

DRF’s…………….. convert model instances to Python dictionaries, which can then be rendered in various API appropriate formats - like JSON or XML. Views. Serializers. Postman. None of the above.

In Django A/An ______ is used to redirect HTTP requests to the appropriate view based on the request URL. Application. Template. URL mapper. Model.

In Django A/An ____ is a request handler function, which receives HTTP requests and returns HTTP responses. Component. View. Template. Model.

Django _____ are Python objects that define the structure of an application's data. Component. View. Template. Model.

Django REST Framework (DRF) is a framework built upon the ………. Framework. JavaScript. Django. Angular. HTML.

A ______ can contain sub-modules, classes, enums or interfaces, but can't directly contain functions. Variable. Module. String. All the above.

How do you check for the version of Django installed on your system?. Python -m django –version. v. Django v. Version Django.

What are migrations in Django?. They are files saved in migrations directory. Migrations are files where Django stores changes to your models. They are created when you run makemigrations command. All of the above.

To Verify Python is Working, Write “………………” in the Command promptand Press enter. python - V. python - Z. python –X. python - version.

What is the Django command to view a database schema of an existing ( or legacy) database?. manage.py inspect. manage.py legacydb. manage.py inspectdb. None of the above.

What does the architecture of Django consist of?. Views. Models. Templates. All of the above.

What are the Advantages of Django?. Django is written from scratch without the use of any libraries in python. It is implemented using the same language (python). It is a “batteries-included” approach that includes pre-made modules and applications for common tasks in web development. All of the above.

Django is written in which language?. PHP. Python. Java. Perl.

Django is a type of …………………….. Programming Language. Java Software. Web framework. None of above.

What happens when url.py file is edited while the development server is still running?. Development server terminates. The development server automatically restarts. The development server does nothing. The web page is automatically reloaded.

To Verify Angular is Working, Write “………………” in the Command prompt and Press enter. ng v. angular. angular v. angular version.

To activate your python virtual environment, run the batch file named …………………….. and Press enter. activate. Manage.py. Python - activate. None of the above.

What is the Django command to start a new app named “employees” in an existing project?. python mange.py –startapp employees. python manage.py newapp employees. python manage.py -newapp employees. python manage.py startapp employees.

What task do migrations automate?. Structural changes to project database tables to reflect to data models. Internationalization of site content to reflect local differences in local date. Deployment of project data to production server. All of the above.

What is the command to start Django’s built-in development server?. A python manage.py runserver. B python manage.py startup. C python manage.py run. D python manage.py startserver-dev.

Which of the following database includes its adaptor in Django?. A MySQL. B SQL Server. C PostGresql. D Sqlite.

What is the purpose of setting.py?. A To configure setting for an app. B To configure setting for the Django project. C To sync the database schema. D To set the date and time on the server.

Which of the following tasks can be performed with manage.py?. A Perform database migrations. B Define new data models. C Create new applications. D All of the above.

To Verify that “Nodejs” is working. A Write “ npm -V ” in the Command prompt and Press enter. B Write “nodejs -V” in the Command prompt and Press enter. C Write “js -V” in the Command prompt and Press enter. D Write “PIP -V” in the Command prompt and Press enter.

What is the Django command to start a new app named ‘users’ in an existing project?. A manage.py –newapp users. B manage.py newapp users. C manage.py –startapp users. D manage.py startapp users.

What are the features available in Django web framework?. A Admin Interface ( CRUD ). B Templating. C Form handling. D All of the above.

What is the purpose of settings.py?. A To configure settings for the Django project. B To configure settings for an app. C To set the date and time on the server. D To sync the database schema.

Django is based on which framework?. A MVC. B MVVM. C MVT or MTV (Model –View- Temple). D None of the above.

Why do we need Serializers in Django Rest Framework?. A Serializers can serialize data. B Serializers are used to clean the data. C Serializers are used to convert python model objects into JSON. D Serializers are used to perform serializing operations on the database.

Python-Django is a ... A Back-end. B Front-end. C Database. D ALL Above.

To build an app you can use a Front-end like. A SQLite. B Python-Django. C Angular. D ALL Above.

Django and SEO which is a process of increasing the quantity and quality of traffic to the websites. A there is no relation between SEO and Django. B SEO utilizes Django. C Django utilizes SEO. D Structure or layout of a file such as an HTML page.

A template is a form of HTML tags that tells Angular about how to render the. A webpage structure. B component. C webpage layout. D more than one section.

Coordinating parts of a template with parts of a component is an Angular mechanism called. A Data selection. B Data binding. C Dinding modules. D webpage layout.

Angular is a great framework to develop: A Single page application. B Backend programs. C Operating systems subroutines. D Enhanced node js classes.

What of the following can be done using angular?. A Single page application. B Two-way data binding html control. C Reusable front-end software components. D All the above.

What the output of the following piece of code if you know that getName() is a function in Employee class returning the full name: let x: Employee; x.getName();. A Full Name of the employee that is originally initialized in the object x. B Error x must be declared as ANY type. C Complier just fine and will not display anything. D Error because some input parameters may be required.

Select the proper answer after reading the following: Serializers can be best described as: A Python Model to JSON and vice versa convertors. B Python Dictionary Builder. C Python data structure creator. D Python List structure Convertor.

Select the proper answer after reading the following: In a project we need to retrieve then display data from RESTful API: A Create POST Request. B Create DELETE Request. C Create PUT Request. D None of the above.

Which of the following is correct about TypeScript?. A Angular is based on TypeScript. B This is a superset of JavaScript. C TypeScript is maintained by Microsoft. D All of the above.

Which of the following is correct about Angular?. A Angular is based on TypeScript. C It was specifically designed to help developers build SPAs (Single Page Applications). C TypeScript is maintained by Microsoft. D All of the above.

Which of the following is not a feature of Angular 11?. Components. Multithread. TypeScript. Services.

What is the decorator used for configuring your module class?. A @NgApp. B @NgModule. C @NgAngular. D @NgConfigure.

What are the new features of Angular 11. A Component-Based. B Directives. C Dependency Injection. D All of these.

…………………are basically used for attaching metadata to classes. A Templates. B Components. C Decorators. D Metadata.

___________ in Angular is the synchronization between the database and the html controls. A Scopes. B Filter. C Data binding. D Service.

Angular uses _______ injection to provide new components with the services they need. A Dependency. B String. C Logging. D Application.

Which of the following filenames is the extension for typescript?. A .tt. B .ts. C .txt. D .nod.

Which setting contains the parameter of main-urls file?. A MAIN_URLCONF. B STATIC_URL. C ROOT_URLCONF. D MEDIA_URL.

What is the purpose of __init__.py in project directories?. A It is useless and can be deleted. B It is used to initialise any empty values. C None of the above. D It allows Python to recognise the folder as package.

Which method is used instead of path() in urls.py to pass in regular expressions as routes?. A url(). B static(). C re_path(). D include().

What is the value of DEBUG when website is online/ or deployed?. A True. B None. C Null. D False.

How is django.db.models.Model used to define data models for a Djangoproject?. A By invoking a factory method of Model. B By passing the model definition as a dictionary parameter. C By creating a new instance of Model. D By creating a new subclass of Model.

How to create a DateTimeFieldnamed created and filled in only on the creation with the current time?. A created = models.CreationTimeField(). B created = models.DateTimeField(auto_now_add=True). C created = models.DateTimeField(auto_now=True). D created models.DateTimeField(default=datetime.datetime.now()).

38 What does a urls.py file do in Django?. A It contains URL matching patterns and their corresponding view methods. B This file contains site deployment data such as server names and ports. C It contains a site map of Django-approved URLs. D You run this file when you get obscure 404 Not Found errors in your server logs.

What task do migrations automate?. A Deployment of project data to production server. Internationalization of site content to reflect local differences in local date and currency formatting conventions. C Structural changes to project database tables to reflect changes to data models. D All of the above.

What is the default PORT used by built in webserver in DJANGO?. 80. 800. 8000. 8080.

What need to set in settings.py, to tell Django which HOST to use when connect to the database?. A database_name. B database_server. C database_user. D database_host.

Which of the following service has Angular 11 that allows us to dynamically load a component in a certain position on the page?. DynamicComponentLoader. DynamicControlLoader. DynamicControllerLoader. None of the above.

Report abuse