Designed by bhawesh chaudhary. Theme images by MichaelJay. Powered by Blogger.

Click this ad.

Showing posts with label Coding. Show all posts
Showing posts with label Coding. Show all posts

Monday, November 13, 2017

Coding & Decoding





Hello guys  my name is bhawesh and today we'll talk about coding and decoding. Let's get started.
---------------------------------------------------------------------------------------------------------


Coding and decoding form an important part of the Analytical reasoning section in all the aptitude related papers. Usually, three to five questions appear from this area in various entrance exams.

In the alphabetic coding and decoding area, the majority of the questions are of the following types:

    Pattern Based Coding and Decoding
    To solve pattern based questions quickly, you should learn the positions of the letters in English alphabet. For this, you should learn the basic five letters of the non-dictionary word E-J-O-T-Y which are respectively positioned at 5, 10, 15, 20 and 25th position. With these five 'landmarks', the positions of all the other letters can be easily found.
    Let us take the case of 'R'. Since R is two letters behind T, so its position will be 18.

Example 1: The questions covered in this type are like "If TEACHER is coded as VGCEJGT, how will you code HUSBAND"?

Solution: Here, you need to check what logic of coding is applied between the letters of the given word and that of the code. Here code for T is V i.e. 2 is added in the position of T to get its code. The same thing happens for the other letters too. Now, to write the code of the word HUSBAND, you need to add 2 in the positions of the letters of the HUSBAND and its code will be JWUDCPF.


Key Learning

    You must keep one important point in mind- in many cases of pattern coding, the coding is written in the reverse order i.e. the code of the first letter is written in the last, the code of the second letter is written at the second last position and so on.

Example 2: The code of the word TEACHER is TGJECVG.

Solution: Here, the basic concept in coding is the same as the earlier one, the only difference is that the code is written in the reverse order. Similarly, the difference in the letters of the word and the code may vary. E.g. the code for the word TEACHER could have been UGDGMKY, then the letters are moved + 1, + 2, + 3, + 4, + 5, + 6 positions.

    Random pattern coding and decoding
    In this type of questions, the code of the word is written randomly and the question asked contains the same letters as given in the original word. In order to answer this, you just have to check for the code of each letter from the given word and place the corresponding code for every letter.

Example 3: If the code of the word TEACHER is XHDIKHL, what will be the code of HEAT?


Solution: Observe the question closely and you should be able to conclude that there is no relation between the letters of the word TEACHER and the letters of the given code, but the letters of the word HEAT are already contained in the parent word TEACHER. So, picking the corresponding code from the parent word, the code for HEAT will be KHDX.

    Coding of a word in a sentence:
    In this type of coding questions, generally three or four sentences or words are given with sentences or words containing codes. You just have to check for the common words/letters in the sentences/words and corresponding common words/letters in the codes to get the answer e.g. "Ram is Smart" is coded as LPG and "Smart means intelligent" is coded as SLY. From this, you should analyze that the only common word is 'smart' and the only common letter is 'L', which means that 'L' is the code for the word 'smart'. Do remember- in such cases, the codes are not seen at the corresponding positions but for the common words. 



Coding and Decoding: Key Learning

    In this article, you got to know about different types of coding-decoding questions asked in competitive exams and how to solve these questions by using EJOTY technique.
    In order to get a hold on such questions, you need to solve variety of Coding-Decoding questions. This section is a very important and time-consuming from competitive exams' point of view.

_____________________________________________________________________________________


If you like this Don't forget to share and write your comments about it.


Guys if you like our post then do subscribe to our blog, share your thought, if you want you can contact with us.

FACEBOOKt
TWITTER
TUMBLR
Instagram
Youtube
Pinterest
Snapchat
Wikipedia

We'll post such contents in our blog that our viewers's really need & they search every where. So for that we request all our viewers to connect with us and tell your problem.

Publisher: Bhawesh chaudhary
Related post:-
      
- Learning These Coding Language Can Help you Get Any Job Quickly         
 -CSS ANIMATION

We've started making our cover song on youtube also so we request our visitors to support us by subscribing.
You can visit us by clickingyoutube.


Thanks for visiting us!

Thursday, November 9, 2017

CSS ANIMATION

Hello guys today my name is bhawesh and today i'll teach you something about CSS ANIMATION FROM W3 OFFLINE SCHOOL TUTORIAL.




CSS3 Animations

CSS3 animations allows animation of most HTML elements without using JavaScript or Flash!
CSS3
Animation

Browser Support for Animations

The numbers in the table specify the first browser version that fully supports the property.
Numbers followed by -webkit-, -moz-, or -o- specify the first version that worked with a prefix.
Property
@keyframes43.0
4.0 -webkit-
10.016.0
5.0 -moz-
9.0
4.0 -webkit-
30.0
15.0 -webkit-
12.0 -o-
animation43.0
4.0 -webkit-
10.016.0
5.0 -moz-
9.0
4.0 -webkit-
30.0
15.0 -webkit-
12.0 -o-

What are CSS3 Animations?

An animation lets an element gradually change from one style to another.
You can change as many CSS properties you want, as many times you want.
To use CSS3 animation, you must first specify some keyframes for the animation.
Keyframes hold what styles the element will have at certain times.

The @keyframes Rule

When you specify CSS styles inside the @keyframes rule, the animation will gradually change from the current style to the new style at certain times.
To get an animation to work, you must bind the animation to an element.
The following example binds the "example" animation to the <div> element. The animation will last for 4 seconds, and it will gradually change the background-color of the <div> element from "red" to "yellow":

Example

/* The animation code */
@keyframes example {
    from {background-color: red;}
    to {background-color: yellow;}
}

/* The element to apply the animation to */
div {
    width: 100px;
    height: 100px;
    background-color: red;
    animation-name: example;
    animation-duration: 4s;
}
Note: If the animation-duration property is not specified, the animation will have no effect, because the default value is 0. 
In the example above we have specified when the style will change by using the keywords "from" and "to" (which represents 0% (start) and 100% (complete)).
It is also possible to use percent. By using percent, you can add as many style changes as you like.
The following example will change the background-color of the <div> element when the animation is 25% complete, 50% complete, and again when the animation is 100% complete:

Example

/* The animation code */
@keyframes example {
    0%   {background-color: red;}
    25%  {background-color: yellow;}
    50%  {background-color: blue;}
    100% {background-color: green;}
}

/* The element to apply the animation to */
div {
    width: 100px;
    height: 100px;
    background-color: red;
    animation-name: example;
    animation-duration: 4s;
}
The following example will change both the background-color and the position of the <div> element when the animation is 25% complete, 50% complete, and again when the animation is 100% complete:

Example

/* The animation code */
@keyframes example {
    0%   {background-color:red; left:0px; top:0px;}
    25%  {background-color:yellow; left:200px; top:0px;}
    50%  {background-color:blue; left:200px; top:200px;}
    75%  {background-color:green; left:0px; top:200px;}
    100% {background-color:red; left:0px; top:0px;}
}

/* The element to apply the animation to */
div {
    width: 100px;
    height: 100px;
    position: relative;
    background-color: red;
    animation-name: example;
    animation-duration: 4s;
}

Delay an Animation

The animation-delay property specifies a delay for the start of an animation.
The following example has a 2 seconds delay before starting the animation:

Example

div {
    width: 100px;
    height: 100px;
    position: relative;
    background-color: red;
    animation-name: example;
    animation-duration: 4s;
    animation-delay: 2s;
}

Set How Many Times an Animation Should Run

The animation-iteration-countproperty specifies the number of times an animation should run.
The following example will run the animation 3 times before it stops:

Example

div {
    width: 100px;
    height: 100px;
    position: relative;
    background-color: red;
    animation-name: example;
    animation-duration: 4s;
    animation-iteration-count: 3;
}
The following example uses the value "infinite" to make the animation continue for ever:

Example

div {
    width: 100px;
    height: 100px;
    position: relative;
    background-color: red;
    animation-name: example;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}

Run Animation in Reverse Direction or Alternate Cycles

The animation-direction property is used to let an animation run in reverse direction or alternate cycles.
The following example will run the animation in reverse direction:

Example

div {
    width: 100px;
    height: 100px;
    position: relative;
    background-color: red;
    animation-name: example;
    animation-duration: 4s;
    animation-iteration-count: 3;
    animation-direction: reverse;
}
»
The following example uses the value "alternate" to make the animation first run forward, then backward, then forward:

Example

div {
    width: 100px;
    height: 100px;
    position: relative;
    background-color: red;
    animation-name: example;
    animation-duration: 4s;
    animation-iteration-count: 3;
    animation-direction: alternate;
}

Specify the Speed Curve of the Animation

The animation-timing-functionproperty specifies the speed curve of the animation.
The animation-timing-function property can have the following values:
  • ease - specifies an animation with a slow start, then fast, then end slowly (this is default)
  • linear - specifies an animation with the same speed from start to end
  • ease-in - specifies an animation with a slow start
  • ease-out - specifies an animation with a slow end
  • ease-in-out - specifies an animation with a slow start and end
  • cubic-bezier(n,n,n,n) - lets you define your own values in a cubic-bezier function
The following example shows the some of the different speed curves that can be used:

Example

#div1 {animation-timing-function: linear;}
#div2 {animation-timing-function: ease;}
#div3 {animation-timing-function: ease-in;}
#div4 {animation-timing-function: ease-out;}
#div5 {animation-timing-function: ease-in-out;}
»

Animation Shorthand Property

The example below uses six of the animation properties:

Example

div {
    animation-name: example;
    animation-duration: 5s;
    animation-timing-function: linear;
    animation-delay: 2s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}
»
The same animation effect as above can be achieved by using the shorthandanimation property:

Example

div {
    animation: example 5s linear 2s infinite alternate;
}

CSS3 Animation Properties

The following table lists the @keyframes rule and all the animation properties:

PropertyDescription
@keyframesSpecifies the animation code
animationA shorthand property for setting all the animation properties
animation-delaySpecifies a delay for the start of an animation
animation-directionSpecifies whether an animation should play in reverse direction or alternate cycles
animation-durationSpecifies how many seconds or milliseconds an animation takes to complete one cycle
animation-fill-modeSpecifies a style for the element when the animation is not playing (when it is finished, or when it has a delay)
animation-iteration-countSpecifies the number of times an animation should be played
animation-nameSpecifies the name of the @keyframes animation
animation-play-stateSpecifies whether the animation is running or paused



animation-timing-functionSpecifies the speed curve of the animation





#copied_w3_school_offline


If you like this Don't forget to share and write your comments about it.


Guys if you like our post then do subscribe to our blog, share your thought, if you want you can contact with us.

FACEBOOK
TWITTER
TUMBLR
Instagram
Youtube
Pinterest
Snapchat

We'll post such contents in our blog that our viewers's really need & they search every where. So for that we request all our viewers to connect with us and tell your problem.

Publisher: Bhawesh chaudhary

Sunday, October 8, 2017

Learning these coding language can help you get any job quickly


Learning any one these 16 languages can get you a job


While making out any plans or designs we technically think of choosing the perfect software for the desired results 
Now what could that term software mean to us 
Simply something that makes your work easy.. Or set of programs and coding..?? 
Well it gets its own meanings per the users 
need
The question comes who and how it's made! 
Not thinking about others.. Why it can't be you to make one? 
Surprised..?? 
Well learning some programming languages can make you able to create a software पर desire which will no longer let you remain jobless. 


There are thousands of programming languages, but some are far more popular than others.
Even biggest or bigger tech giants are in search of fresh minds with creative ideas for the coding and programming softwares.. Including its creation.. 

Here are the programming languages you should learn if you always want to have a job, as Index



Java: Originally invented in 1991 as a programming language for smart televisions, Oracle's Java is still the most popular language in the world — a position solidified by the fact that Java is crucial to Android app development and lots of business software.



C: One of the oldest programming languages still in common use, C was created in the early 1970s. In 1978, the language's legendary and still widely read manual, the 800-page "The C Programming Language," saw print for the first time.

Python: This language traces back to 1989, and is loved by its fans for its highly readable code. Many programmers suggest it's the easiest language to get started with.


PHP: This language for programming web sites is incredibly common — some estimates say it powers one-third of the web. Big sites like WordPress, Facebook, and Yahoo use it. A lot of programmers also hate PHP with a passion — Stack Overflow founder Jeff Atwood once wrote, "PHP isn't so much a language as a random collection of arbitrary stuff, a virtual explosion at the keyword and function factory."


Visual Basic: Microsoft's Visual Basic (and its successor, Visual Basic .NET) tries to make programming easier with a graphical element that lets you change portions of a program by dragging and dropping. It's older, but it's still got its users out there.


JavaScript: This is a super-popular programming language primarily used in web apps. But it doesn't have much to do with Java besides the name. JavaScript runs a lot of the modern web, but it also catches a lot of flak for slowing browsers down and sometimes exposing users to security vulnerabilities.



R: This is the programming language of choice for statisticians and anybody doing data analysis. Google has gone on record as a big fan of R, for the power it gives to its mathematicians.


Go: Originally designed by Google to build systems at the immense scale needed to power the world's busiest search engine, it's since caught on with developers who value reliability and integrity above all else. It's one of the fastest-growing programming languages out there, too.


Ruby: Like Python, developers like this 24-year-old language because it's easy to read and write the code. Also popular is Rails, an add-on framework for Ruby that makes it really easy to use it to build web apps. The language's official motto is "A programmer's best friend."


Groovy: This offshoot of Java has surged in popularity since its 2007 inception, designed to make it easier and faster to write lots of code. And since Groovy integrates just fine with Java code, it's won over developers at big companies like IBM, Google, and Target.


Objective-C: The original C programming language was so influential that it inspired a lot of similarly named successors, all of which took their inspiration from the original but added features from other languages. It's still more popular than Apple's homegrown Swift language, but Swift is gaining fast.


Perl: Originally developed by a NASA engineer in the late '80s, Perl excels at processing text, and developers like it because it's powerful and flexible. It was once famously described as "the duct tape of the web," because it's really great at holding websites together, but it's not the most elegant language.


Pascal: Named for famed philosopher Blaise Pascal, this language was instrumental in the coding of the original Apple Macintosh computers. Eventually, Pascal extended into so-called Object Pascal, where it's still widely used in systems today.


Delphi Object Pascal: Originally developed at Apple in 1986 and named because it helped programmers connect to Oracle databases (as in, "The Oracle at Delphi"), Delphi is seeing its star rise once again as an alternative for building smartphone apps.


Swift: While Apple's issues with Taylor Swift may have made all the headlines last year, the Apple Swift programming language was winning over developers as a faster, easier way to build iPhone apps. With high-profile fans

So, what do you think about this? Simply share your views and opinions in the comment section below and don't forget to share about it!

Guys if you like our post then do subscribe to our blog, share your thought, if you want you can contact with us.

FACEBOOK
TWITTER
TUMBLR
Instagram

We'll post such contents in our blog that our viewers's really need & they search every where. So for that we request all our viewers to connect with us and tell your problem.

Written byyash luniya


Don't forget to read these articles:-

We've started making our cover song on youtube also so we request our visitors to support us by subscribing.
You can visit us by clickingyoutube.

Thanks for visiting us!
Hey, we've just launched a new custom color Blogger template. You'll like it - https://t.co/quGl87I2PZ
Join Our Newsletter