Wednesday, April 24, 2019
Tuesday, April 23, 2019
Node js interview questions
This blog is just for revision .
Modules are way of organising reusable components
It is used to import core modules.It is a function that can be used to import symbols from another module to the current scope
Commonjs defines standards for modules, packages and unit testing.
Asynchronous
- Explain the version of a package in node js
- major
- minor
- patch
- pre major
- pre minor
- pre patch
- pre release
- What is the use of ~ and ^
- ~ matches the most recent patch version for the minor version
- ^ matches the most recent minor version of the major version
- What are modules
Modules are way of organising reusable components
- Core
- Local
- Third party
- What is the use of require()
It is used to import core modules.It is a function that can be used to import symbols from another module to the current scope
- What is commonjs
Commonjs defines standards for modules, packages and unit testing.
- What is AMD ?
Asynchronous
- Explain the parts of package.json
- name
- version
- license
- description
- Explain async functions
- Explain await
Friday, April 19, 2019
mat-form-field must contain a MatFormFieldControl.
Hi Guys ,
Today I have faced this error :
ERROR Error: mat-form-field must contain a MatFormFieldControl.
Later I have found out that I have missed to add the attribute matInput .
<mat-form-field>
<input type="text" name="name" ngModel #refName="ngModel" name="name" required >
</mat-form-field>
Once I added the attribute to the input field matInput , the error was resolved .
<mat-form-field>
<input matInput type="text" name="name" ngModel #refName="ngModel" name="name" required >
</mat-form-field>
Full stack trace is as below .
CustDetailComponent.html:4 ERROR Error: mat-form-field must contain a MatFormFieldControl.
at getMatFormFieldMissingControlError (form-field.es5.js:119)
at MatFormField.push../node_modules/@angular/material/esm5/form-field.es5.js.MatFormField._validateControlChild (form-field.es5.js:771)
at MatFormField.push../node_modules/@angular/material/esm5/form-field.es5.js.MatFormField.ngAfterContentInit (form-field.es5.js:453)
at callProviderLifecycles (core.js:9553)
at callElementProvidersLifecycles (core.js:9534)
at callLifecycleHooksChildrenFirst (core.js:9524)
at checkAndUpdateView (core.js:10455)
at callViewAction (core.js:10692)
at execComponentViewsAction (core.js:10634)
at checkAndUpdateView (core.js:10457)
oracle plsql interview questions
Important Oracle PL SQL interview Questions .
A cluster is a schema object that contains data from one or more tables, all of which have one or more columns in common
- What is oracle database ?
A database is a set of physical files on disk created by the CREATE DATABASE statement .
- What is a database instance ?
A database instance is a set of memory structures that manage database files
What is a record type.
Group of related data items stored in fields.
What is a collection type
Ordered group of elements all of same type
What is type ref cursor
Data type whose value is in memory address of query work area of the database
What is a record type.
Group of related data items stored in fields.
What is a collection type
Ordered group of elements all of same type
What is type ref cursor
Data type whose value is in memory address of query work area of the database
- What is an index ?
- What are triggers ?
- DML
- DDL
- Implicit attributes of Cursor
- %FOUND
- %ISOPEN
- %NOTFOUND
- %ROWCOUNT
- What is a DB Link ?
- What is a cluster ?
A cluster is a schema object that contains data from one or more tables, all of which have one or more columns in common
- What is a tablespace?
Types of tablespace .
- A permanent tablespace contains persistent schema objects. Objects in permanent tablespaces are stored in datafiles.
- An undo tablespace is a type of permanent tablespace used by Oracle Database to manage undo data if you are running your database in automatic undo management mode. Oracle strongly recommends that you use automatic undo management mode rather than using rollback segments for undo.
- A temporary tablespace contains schema objects only for the duration of a session. Objects in temporary tablespaces are stored in tempfiles.
- What is SQL*Plus ?
SQL*Plus has a command-line user interface that acts as the client when connecting to the database.
- What is sql loader ?
SQL*Loader is a bulk loader utility used for moving data from external files into the Oracle database.
Normalization is a process of organizing the data in database to avoid data redundancy, insertion anomaly, update anomaly & deletion anomaly.
- Explain normalization.
Normalization is a process of organizing the data in database to avoid data redundancy, insertion anomaly, update anomaly & deletion anomaly.
Terminology :
1. attribute : column
2. candidate key : primary key ( simple or composite )
3. prime attribute : column which is part of primary key
4. non prime attribute : column not part of primary key .
5. super key : any set of attributes which identifies a unique record .
6. functional dependency : B depends on A
7. transitive dependency : B is dependent of A . C is dependent of B . So C has a transitive dependency on A .
1NF : attribute should be atomic.
1NF : attribute should be atomic.
2NF : non prime attribute should not depend on a subset of primary key
3NF : non prime attribute should not have transitive dependency with the super key .
BCNF : any functional dependency should be a super key .
Saturday, April 13, 2019
Angular Quiz
Score :
0
Test your understanding
angular-cli.json was deprecated in which version ?
v5
v4
v6
v7
Info
Next
Subscribe to:
Posts (Atom)
-
Hi Guys , In this blog I will share information related to error : can't bind to 'formcontrol' since it isn't a known pr...
-
Hi Guys , This blog is about the error " Target container is not a DOM element. " The full error in the console log is ...
-
Error Blog This blog is about the error Error: Objects are not valid as a React child Problem Statement error on start of...