Tuesday, 26 June 2018
how to get internship|advantages of internship| check it before join| we...
How to identify company is fake or genuine. How to get the internship which is related to your branch. Tips to select/search internship. Do watch keep subscribing and keep watching. VTU internship is made mandatory check this video before joining as intern to any company.
check the company and join . All the best.
What is Nokia 5G ReefShark|Advantage|Power consumption
What is ReefShark Chip and how it affect the current market with its 5G network
Sunday, 24 June 2018
Thursday, 21 June 2018
how to transmit a single Character in UART (LPC 1768)
How to transmit a single character using the UART.
Wednesday, 20 June 2018
Tuesday, 19 June 2018
Tribonacci Series Generation
For visual follow https://youtu.be/kso7dWX8_fg
Fibonacci
series – adding the two successive numbers and store.
1+2+3+5+8+13 and so on
The logic
is c = a + b
A B
1 +
2 + 3 +
5 + 8+
13
A B C
and above alphabets replaced with lower alphabets as
explained below.
C holds the answer for next loop the a and b should be
changed to next value as shown in the below figure
Step 1: perform
addition of A and B. Store the result in C.
Step 2: change
the value of A to B and B to C (above alphabets write on left side and below
alphaets write on write side)
Step 3: Put step
1 and step 2 inside a for loop and execute the loop based on user
requirement.
Tribonacci
series – adding the three successive numbers and store
A B C
1 +
2 + 3 +
6 + 11+
20 + 37 and so on
A B C D
Step 1: perform addition of A , B and C. Store the result in
D.
Step 2: change the value of C to D, B to C, A to B (above
alphabets write on left side and below alphaets write on write side)
Step 3: Put step 1 and step 2 inside a for loop and execute
the loop based on user requirement.
Generate 2000 Prime numbers
Algorithm for checking the prime number or not
(Extend the same to generate 2000 prime numbers)
According to mathematics,
the maximum checks are in the range 2 to number/2 with a increment of 1 for
every check –
LOGIC
According to logic,
Step 1: Declare the three variables, use one variable as flag,
another two to carry out ‘for’ loop
Step 2: Write a for loop with conditions, start loop from 2 and
execute till number/2 with a increment of 1 (I = 2; I<=number/2; I++), set
flag equals to 0.
Step 3: Find the remainder of a number starting from 2 and check for
other number till number/2
Example: if the checking number is
1000 the starting number is 2 to 500
(number/2)
If remainder is equal to zero set the flag = 1 and
terminate the loop
Repeat the step 3 till the loop
count reaches the number/2.
Step 4: Print the results when flag ==0.
Flag ==1 not a prime number
https://youtu.be/eW2gQHXmkCUFor clear vision follow the below video
Saturday, 16 June 2018
Why PINSEL in ARM has only 16 bits!!
Get a book regarding ARM cortex M3 architecture using the below link https://amzn.to/2BWyrjZ
Thursday, 14 June 2018
Essential thoughts for programming in any language
"Programming is the art and it should be practiced everyday to become an artist"
Before starting programming in any language such as JAVA, C, C#, MATLAB, Python etc, there is a need to eat and digest the below points.
1. Looping
2. Logic of a Program
3. Last but not least syntax of a programming language.
1. Looping:
This is critical and need to learn and digest any one of the looping (while, do-while or for).
The need of looping is essential because usually in the real time applications exact number of times the work need to be carried out during this cases the looping plays a vital role. Some of the examples are below
If there is a need to run loop for 10 times, can choose any of the looping system
For example shall take for loop
In C : for (i=1; i<=10;i++), for(i=0;i<10;i++)
In Matlab :
for i = 1:1:10
end
Like above there can be 'N' ways to implement the loop in different language with different looping types.
While writing the looping take care about the forcing the value to variable as '1' or '0' inside the loop as it leads to wrong answers. Lets consider the example to calculate sum to 10 numbers
if variable which holds the result is forced to 0 inside looping leads to wrong answers
Ex: Sum is the variable used to hold the result
for (i=1;i<=10;i++)
{
sum = 0;
sum = i + sum;
}
the original answer for 1+2+3+4+5+6+7+8+9+10 = 55 (in decimal) but for the above code the answer is 10 because of forcing the variable sum to 0.
Instead the result holding variable should be assigned outside the looping
Ex:
sum = 0;
for(i=1;i<=10;i++) // loops for ten times
{
sum = i + sum; // for every execution the sum is updated based on the integer value i in the loop.
}
for more information visit the link to get more knowledge on looping https://www.youtube.com/watch?v=LhXfw3lM0oo
2. Logic of a program
A Essential part of the programmer where the developer need to understand the problem statement and prepare a paper work to come up with a logic. Only a experts can code onscreen by keeping logic in mind. Beginners do make a paper work and later start coding or else more often end with errors as out brain won't support it.
If the logic is known can code the same in any language (C, C++, Java anything). More often in the interview, companies asks the basics no one ask to solve a complex problem a simple fibonacci series, tribonacci series, binary search etc. While attending the interviews do brush up the logic of small programs.
Last point but not least.
3. Syntax of the programming language
This is the least importance the syntax varies from one programming language to another, before coding with any language learn the compiler rules and syntax.
This is easy within two to three days we can learn the syntax of any language.
For example: refer the first point in this blog which explains the syntax variation for writing the "for loop" in MATLAB and C.
Once the syntax is known can write a program.
Practice is the key if tool is not used for many days again people end up with syntax errors. Example if the person was coding in MATLAB switched to C coder after five months if they start using MATLAB, the usage of C language influences and makes the syntax errors while writing the MATLAB codes.
Please do subscribe to the below the link for the channel is provide,
Subscribe to my channel!
Before starting programming in any language such as JAVA, C, C#, MATLAB, Python etc, there is a need to eat and digest the below points.
1. Looping
2. Logic of a Program
3. Last but not least syntax of a programming language.
1. Looping:
This is critical and need to learn and digest any one of the looping (while, do-while or for).
The need of looping is essential because usually in the real time applications exact number of times the work need to be carried out during this cases the looping plays a vital role. Some of the examples are below
If there is a need to run loop for 10 times, can choose any of the looping system
For example shall take for loop
In C : for (i=1; i<=10;i++), for(i=0;i<10;i++)
In Matlab :
for i = 1:1:10
end
Like above there can be 'N' ways to implement the loop in different language with different looping types.
While writing the looping take care about the forcing the value to variable as '1' or '0' inside the loop as it leads to wrong answers. Lets consider the example to calculate sum to 10 numbers
if variable which holds the result is forced to 0 inside looping leads to wrong answers
Ex: Sum is the variable used to hold the result
for (i=1;i<=10;i++)
{
sum = 0;
sum = i + sum;
}
the original answer for 1+2+3+4+5+6+7+8+9+10 = 55 (in decimal) but for the above code the answer is 10 because of forcing the variable sum to 0.
Instead the result holding variable should be assigned outside the looping
Ex:
sum = 0;
for(i=1;i<=10;i++) // loops for ten times
{
sum = i + sum; // for every execution the sum is updated based on the integer value i in the loop.
}
for more information visit the link to get more knowledge on looping https://www.youtube.com/watch?v=LhXfw3lM0oo
2. Logic of a program
A Essential part of the programmer where the developer need to understand the problem statement and prepare a paper work to come up with a logic. Only a experts can code onscreen by keeping logic in mind. Beginners do make a paper work and later start coding or else more often end with errors as out brain won't support it.
If the logic is known can code the same in any language (C, C++, Java anything). More often in the interview, companies asks the basics no one ask to solve a complex problem a simple fibonacci series, tribonacci series, binary search etc. While attending the interviews do brush up the logic of small programs.
Last point but not least.
3. Syntax of the programming language
This is the least importance the syntax varies from one programming language to another, before coding with any language learn the compiler rules and syntax.
This is easy within two to three days we can learn the syntax of any language.
For example: refer the first point in this blog which explains the syntax variation for writing the "for loop" in MATLAB and C.
Once the syntax is known can write a program.
Practice is the key if tool is not used for many days again people end up with syntax errors. Example if the person was coding in MATLAB switched to C coder after five months if they start using MATLAB, the usage of C language influences and makes the syntax errors while writing the MATLAB codes.
Please do subscribe to the below the link for the channel is provide,
Wednesday, 13 June 2018
Emerging field in the future time.
The emerging field in the field of technology and communication are as follows
1. IoT
2. Machine learning.
IoT- It stands for Internet of Things
It actually means that the every nodes are connected to the internet and those can be controlled through internet. The examples of nodes can be computer, smart phone, house gadgets, traffic light, security system of home etc. All these are named as the nodes. As the world is moving towards higher generations of speed such as 5G in the future days the IoT is the fast growing job providing field.
Machine Learning
It is the another fast growing field, where the machines should analyze the environment and should start recognizing the things. It is like teaching a child, a step by step process. The only difficulty in this field is the machines understands only a numbers all the real world data should be fed as numbers and recognition should happen based on the numbers.
In this field we have two stages
1. Training: in this stage the machines starts understanding the environment through the numbers technically it is called as feature extraction phase where features are the deciding factors.Normally thousands of samples(can be image, audio or anything) are taken and features are extracted.
2. Testing: once the features are extracted and stored in the data base the training phase is completed and the testing phase starts. In testing the images are provided based on the previous experience the machine will provide the judgement whether the image/audio belongs to the class(group) or not.
Subscribe to my channel!1. IoT
2. Machine learning.
IoT- It stands for Internet of Things
It actually means that the every nodes are connected to the internet and those can be controlled through internet. The examples of nodes can be computer, smart phone, house gadgets, traffic light, security system of home etc. All these are named as the nodes. As the world is moving towards higher generations of speed such as 5G in the future days the IoT is the fast growing job providing field.
Machine Learning
It is the another fast growing field, where the machines should analyze the environment and should start recognizing the things. It is like teaching a child, a step by step process. The only difficulty in this field is the machines understands only a numbers all the real world data should be fed as numbers and recognition should happen based on the numbers.
In this field we have two stages
1. Training: in this stage the machines starts understanding the environment through the numbers technically it is called as feature extraction phase where features are the deciding factors.Normally thousands of samples(can be image, audio or anything) are taken and features are extracted.
2. Testing: once the features are extracted and stored in the data base the training phase is completed and the testing phase starts. In testing the images are provided based on the previous experience the machine will provide the judgement whether the image/audio belongs to the class(group) or not.
Assembly Basics LPC1768 on various data directives
Difference between DCD and EQU make sure while using it in assembly level coding in LPC1768
People often give wrong answer to this question, why?!
OMG common mistake while answering synchronization and a-synchronization communication
What X(8/16/32/64)-bits processor or controller actually mean!! & why AR...
What 16 in 16bit microcontroller and interesting reasons for why ARM is famous. Please do watch and subscribe.
Subscribe to:
Comments (Atom)