Wednesday, 10 April 2019

INTERNSHIP

INTERNSHIP DETAILS

Please go through the following links to know more about internships.

To know more about internship please comment and follow my blog.

Thank you


1. https://www.infosys.com/instep/internship/projects/Pages/index.aspx

2. https://jobs.intel.com/page/show/internship-jobs

3. https://hpesindia.com/summer-training-program.php

SUMMER PROGRAMME

We are happy to inform you that the Department of Computer Science and Engineering, NITK Surathkal, is organizing a Summer School on Deep Learning from 17th to 21st May 2019. For more details and registration, please visit the website http://ssdl.nitk.ac.in/
Only limited seats are available!!! Hurry up!!!

Monday, 25 March 2019

STUDY IN ABROAD

STUDY IN ABROAD


FREQUENTLY ASKED QUESTIONS

1. Why study abroad?

There are many reasons why study abroad programs are becoming so popular. For most international students, the appeal is likely to be a combination of gaining a high-quality education, experiencing immersion in a new culture (and often a second language), gaining a global mindset and expanding future employment prospects.
For some, the prospect of leaving home and heading off into the unknown is daunting but studying abroad is also an exciting challenge that often leads to improved career opportunities and a broader understanding of the way the world works.
The type of experience you have during your time abroad will vary hugely depending on where you go, so make sure to pick a study destination based on your own personal interests as well as the country’s academic reputation, in order to keep a healthy work/play balance.


2. Where in the world should I study?


Choosing where in the world you wish to study is not always an easy task. As well as your own personal interests, you should think about practicalities such as the costs of studying in that country (both tuition costs and living costs), your graduate career prospects (is there a good job market?) and your overall safety and welfare.
You should also think about what sort of lifestyle you wish to have during your studies. Do you want to live in a big city or a small university town? Do you want arts and culture on your doorstep or world-class sporting facilities? Whatever your interests, be sure to match them up with your study destination so that you really give yourself the best chance of loving your international experience.
3. How do I get started?
Once you’ve made up your mind about where you want to study, you should start to think about choosing a program and a university, if you haven’t already. You can research leading universities with the QS World University Rankings®, use the subject rankings to discover universities which are best for your subject, and also consult national rankings of universities in your chosen destination.
You’ll then want to look closely at the courses offered by the institutions on your shortlist, as well as researching the local area and lifestyle, admission requirements and costs.
Once you’ve firmly decided on your program and institution, you should start to think about your application(s). Application processes differ depending on the university and the country, but generally each institution will provide full details of how to submit your application on the official website.
In some cases, there is a two-step application process for international students. This means you must submit two applications: one for a place at the university and one for a place on the course itself. This should be clearly stated on the university’s website. If you still have questions about the process, you should contact your chosen university directly.
If you think you might need a student visa, remember that in most cases you won’t be able to apply for one until you have received a letter of acceptance from your chosen university. Each stage can take several months, so allow as much time as possible.


4. How long do study abroad programs take?


The length of time you spend studying abroad will depend on the program and level of degree you’re undertaking. Generally, an undergraduate degree will take three or four years of full-time study (for example, in the UK the typical length for most subjects is three years, while in the US the norm is four), while a graduate degree such as a master’s degree or equivalent will take one or two years. A doctoral (PhD) program will usually take three to four years.
At many universities across the world, there is also the option of studying abroad for a shorter period of time. Student exchange programs allow you to study abroad for a year, a semester or even just a few weeks. Information about these shorter programs should be available on the website of the main university you plan to enroll at, as well as the university you’d like to be hosted by.


5. When can I start applying for study abroad programs?


Considering your application as early as possible is the best way to go. After all, the sooner you gain acceptance into a university, the sooner you can arrange your travels. To avoid disappointment, note down all the relevant application deadlines (set out by your chosen university) in HUGE LETTERS on your calendar.
Application deadlines will be different depending on the school, but, for programs starting in the fall (September/October), applications will generally be open from early in the year (January/February) until the middle of the year (June/July).


6. What are the entry requirements for study abroad programs?


Entry requirements vary widely between universities and between countries, so be sure to check the information provided by your prospective university before submitting anything.
Speaking generally, however, if you are applying for an undergraduate degree you will be asked to show that you have completed your secondary education to a standard that is in line with the required grades (e.g. your GPA, A-level grades or equivalent) for the program you’re applying to. If you have an international qualification and are unsure whether this is accepted, you should contact the admissions department of the university.
For non-native English speakers wanting to study in English-speaking countries, it is also highly likely that you’ll need to provide proof of your English-language proficiency by taking an English-language test such as TOEFL or IELTS. Similar tests may be required for those studying in other languages. For more information about language tests, refer to question eight.


7. What documentation should I submit with my application?


You may be asked to provide some supporting documentation as part of your application. Once again, requirements vary depending on the country and university, but international students are often asked to provide the following:
    • Passport photos for identification
    • A statement of purpose
    • CV/résumé
    • Academic references/ letters of recommendation
    • Certificate and transcripts of your secondary education
    • Proof of English-language proficiency (e.g. a TOEFL/IELTS certificate, for schools in English-speaking countries), or other language test
    • Admissions test results (e.g. GMAT/GRE results, for graduate programs) 


8. Do I have to speak a second language to study abroad?


This depends on the country you wish to study in, and the language your course will be taught in. If you’re not a native English speaker but wish to study a course taught in English, you will have to prove you can speak the language to a fairly high level, by providing English-language test results. This is to ensure you will be able to follow your course without any comprehension problems.
English is also used as a language of instruction in a number of other countries worldwide, particularly for graduate programs and business degrees. English-taught courses will be advertised on the university’s website and can sometimes be searched for using a centralized database run by a national agency.
Common tests accepted as proof of English proficiency are the TOEFL and IELTS. If you need to prove your proficiency in a language other than English, there are also similar tests in other languages, such as the DELF/DALF and TCF-DAP (French) or the DSF and TestDaF (German).
Before taking a language test, make sure you confirm which results are accepted by your chosen school to make sure you don’t waste money on the wrong test.


9. Will I need to attend an admissions interview?


As a prospective international student, it is relatively unlikely for schools to expect you to attend an admissions interview in person, although this is not unheard of – especially for the most competitive programs.
Some universities hold international interviews in various locations around the world, so you may be expected to attend one of these. There is also a growing trend of using video interviewing. This is like any other interview, with a prearranged time and date, but will take place online, via an application such as Skype.


10. After gaining a letter of acceptance, what do I do next?


Congratulations, you’re in! Now all that’s left to do is to prepare for your studies, pack up your life into a single (large) suitcase, get your travel documents in order, apply for your student visa, research your accommodation options, and look for funding… don’t panic, it’ll all be worth it!
In fact, as soon as you gain acceptance from a university, the first thing you should start to consider is your travel documentation. Ensure you have a valid passport and travel insurance, as well as a student visa if you need one. Make sure you have sufficient time to get your passport/visa approved so that you’ll be able to travel legally.
For more information on what documentation you’ll need to travel, you should visit the government website of your chosen country to find information for travelers, visitors and international students (e.g. Gov.uk for UK travel information). All the travel information you need should be listed on these official sites.
Alternatively, you can ask your university for guidance. Often, admissions departments will help you to prepare for your travels, and, in some countries, they even apply for the student visa on your behalf. Make sure you check with your university, however – don’t assume someone else is going to sort everything out.


11. Do I need to apply for a student visa?


Student visas are a big question for those who want to know how to study abroad, though not all international students will need one. If you’re an EU citizen planning to study in another EU country, for instance, you don’t need a visa.
However, as a rule of thumb, if you come from outside of your chosen country’s geographical region/continent, you will probably need to apply for a student visa. This usually only applies to longer periods of international study; if you’re participating in a shorter exchange, last three months or less, a tourist or visitor visa may suffice.
To find out for sure, check either with your chosen university or the government travel website of your country of study


12. How much does it cost to study abroad?


To work out the cost of studying abroad, you need to consider the average tuition fees for international students in your chosen country, as well as the cost of living.
As a point of reference, the average tuition fees for international students studying in the UK start at £10,000 (~US$14,200) a year, with an additional £12,180 (~US$17,300) per year needed to cover living costs (with more needed if you study in London).
In the US, the average yearly tuition fee is US$25,620 at public universities and $34,740 at private universities with an additional recommended budget of at least $10,800 to cover your living costs. With these yearly figures in mind, remember that undergraduate programs in the US tend to last a full four years.
In some countries, there are no tuition fees at all. Notable examples include Germany and Norway.


13. Can I get financial aid to study abroad?


Although many international students may find it difficult to get a student loan to fund their studies, there are a myriad of other funding opportunities available to make studying abroad more affordable, including scholarships, fellowships, studentships, sponsorships, grants and bursaries.
Your chosen university is perhaps the best place to get funding information relevant to you, so make sure to scour the school’s website for advice or contact the school directly. This is also where information about study abroad scholarships offered by the university and other external organizations can be found, along with details regarding eligibility and how to apply.
Many scholarships are granted based on academic merit and are highly competitive. There are also lots of funding schemes targeting specific groups of students, such as students from developing countries and women studying male-dominated subjects.


14. Where can I find study abroad scholarships?


Study abroad scholarships can be found in many places. Your first port of call will be the website of your chosen university, where you’ll find information on available scholarships. Sometimes the university will also list external scholarships, such as those offered by the government or business partners of the school. If not, you should research governmental schemes in your home country and your country of study, as well as funding offered by external organizations relating to your field of study (e.g. an engineering firm might offer a scholarship for engineering students).


15. Where will I live during my study abroad program?


If your chosen university has readily available campus accommodation, it is likely that you will be able to apply for a place in these student halls. If this is not the case, you will need to find your own accommodation.
If money is no object, you can consider renting your own flat, while those on a smaller budget can find shared accommodation with other students or use spare room listings found online. In all cases, you should make sure you do your research before signing anything or handing over any money. Your university’s student support team and student union should also offer advice on how to find accommodation locally.


16. Can I work during my studies abroad?


This will depend on whether or not your student visa allows you to work. In some countries there are restrictions on the amount of paid work you can undertake during your studies. Often there’s a limit of 20 hours’ paid work per week during term time, with full-time work permitted during holidays.
If you don’t need a student visa, it is more likely you’ll be able to work as many hours as you like, as long as this doesn’t affect your studies – but check with the university and/or official government site. If you do work during your studies, it’s not a good idea to rely on your wages to fund living costs, and in many cases you’ll need to prove you already have enough money to support yourself when you apply for your visa.

17. Further questions?


If you have any more questions regarding how to study abroad, that haven’t already been addressed, feel free to ask them in the comments below and we’ll get back to you as soon as we can! You may also be interested in attending the QS World Grad School Tour, which offers the chance to meet universities from around the world and get advice for your application.

1. For more information please use this link https://www.topuniversities.com/student-info/studying-abroad/how-study-abroad-frequently-asked-questions


2. To know top universities please click this link
https://studyabroad.shiksha.com/top-universities-in-abroad-abroadranking32


Tuesday, 5 March 2019

LL1 parsing table

3. Design, develop and implement YACC/C program to construct Predictive / LL(1) Parsing Table
for the grammar rules: A →aBa , B →bB | ε. Use this table to parse the sentence: abba$.
#include<stdio.h>
#include<conio.h>
#include<string.h>
void main()
{
char fin[10][20],st[10][20],ft[20][20],fol[20][20];
int a=0,e,i,t,b,c,n,k,l=0,j,s,m,p;
printf("enter the no. of coordinates\n");
scanf("%d",&n);
printf("enter the productions in a grammar\n");
for(i=0;i<n;i++)
scanf("%s",st[i]);
for(i=0;i<n;i++)
fol[i][0]='\0';
for(s=0;s<n;s++)
{
for(i=0;i<n;i++)
{
j=3;
l=0;
a=0;
l1:if(!((st[i][j]>64)&&(st[i][j]<91)))
{
for(m=0;m<l;m++)
{
if(ft[i][m]==st[i][j])
goto s1;
}
ft[i][l]=st[i][j];
l=l+1;
s1:j=j+1;
}
else
{
if(s>0)
{
while(st[i][j]!=st[a][0])
{
a++;
}
b=0;
while(ft[a][b]!='\0')
{
for(m=0;m<l;m++)
{
if(ft[i][m]==ft[a][b])
goto s2;
}
ft[i][l]=ft[a][b];
l=l+1;
s2:b=b+1;
}
}
}
while(st[i][j]!='\0')
{
if(st[i][j]=='|')
{ j=j+1;
goto l1;
}
j=j+1;
}
ft[i][l]='\0';
}
}
printf("first pos\n"); for(i=0;i<n;i++)
printf("FIRS[%c]=%s\n",st[i][0],ft[i]);
fol[0][0]='$';
for(i=0;i<n;i++)
{ k=0;
j=3;
if(i==0)
l=1;
else l=0;
k1:while((st[i][0]!=st[k][j])&&(k<n))
{
if(st[k][j]=='\0')
{
k++;
j=2;
}
j++;
} j=j+1;
if(st[i][0]==st[k][j-1])
{
if((st[k][j]!='|')&&(st[k][j]!='\0'))
{ a=0;
if(!((st[k][j]>64)&&(st[k][j]<91)))
{
for(m=0;m<l;m++)
{
if(fol[i][m]==st[k][j])
goto q3;
}
q3:
fol[i][l]=st[k][j];
l++;
}
else
{
while(st[k][j]!=st[a][0])
{
a++;
} p=0;
while(ft[a][p]!='\0')
{
if(ft[a][p]!='@')
{
for(m=0;m<l;m++)
{
if(fol[i][m]==ft[a][p])
goto q2;
}
fol[i][l]=ft[a][p];
l=l+1;
} else
e=1;
q2:p++;
}
if(e==1)
{ e=0;
goto a1;
}
}
}
else
{
a1:c=0;
a=0;
while(st[k][0]!=st[a][0])
{
a++;
}
while((fol[a][c]!='\0')&&(st[a][0]!=st[i][0]))
{
for(m=0;m<l;m++)
{
if(fol[i][m]==fol[a][c])
goto q1;
}
fol[i][l]=fol[a][c];
l++;
q1:c++;
}
}
goto k1;
}
fol[i][l]='\0';
}
printf("follow pos\n");
for(i=0;i<n;i++)
printf("FOLLOW[%c]=%s\n",st[i][0],fol[i]);
printf("\n");
s=0;
for(i=0;i<n;i++)
{ j=3;
while(st[i][j]!='\0')
{
if((st[i][j-1]=='|')||(j==3))
{
for(p=0;p<=2;p++)
{
fin[s][p]=st[i][p];
} t=j;
for(p=3;((st[i][j]!='|')&&(st[i][j]!='\0'));p++)
{
fin[s][p]=st[i][j];
j++;
}
fin[s][p]='\0';
if(st[i][t]=='@')
{
b=0;
a=0;
while(st[a][0]!=st[i][0])
{
a++;
}
while(fol[a][b]!='\0')
{
printf("M[%c,%c]=%s\n",st[i][0],fol[a][b],fin[s]);
b++;
}
}
else if(!((st[i][t]>64)&&(st[i][t]<91)))
printf("M[%c,%c]=%s\n",st[i][0],st[i][t],fin[s]);
else
{
b=0;
a=0;
while(st[a][0]!=st[i][3])
{
a++;
}
while(ft[a][b]!='\0')
{
printf("M[%c,%c]=%s\n",st[i][0],ft[a][b],fin[s]);
b++;
}
}
s++;
}
if(st[i][j]=='|')
j++;
}
}
getch();
}

Friday, 1 March 2019

SYSTEM SOFTWARE AND COMPILER DESIGN

SYSTEM SOFTWARE AND COMPILER DESIGN

MODULE - 1

1. Define system software? distinguish between system software and application software.

2. Explain SIC/XE machine architecture.

3. write a SIC/XE program to copy array A of 100 words to array B  of same size.

4. what is upward compatible. how is it ensured between SIC and SIC/XE ?

5. Explain the data structures and pass- 1 algorithm of SIC assembler?

6. Explain briefly the SIC assembler directives with examples?

7. What is relocation? Illustrate how a modification record is used in relocation of program?

8. Generate the machine code for the following SIC?XE program

                           COPY             START 1000 

                           CLOOP           +JSUB RDREC

                                                   LDA LENGTH
                                          
                                                   COMP ZERO

                                                    JEQ EXIT

                                                    J CLOOP

                        EXIT                  STA BUFFER

                                                    LDA THREE

                                                   STA TOTAL_LENGTH

                                                   RSUB

                     BUFFER               RESW   100

                      EOF                     BYTE C 'EOF'

                      ZERO                 WORD   0

                      THREE               WORD   3

                       LENGTH           RESW  1
        
                     TOTAL_LENGTH  RESW 1

                      RDREC               LDX ZERO

NOTE: JSUB=A0, LDA=80, LDX=60, STA=50, COMP=90, RUB=4C, JEQ=B0, J=B8


9. Define macro. give the features of macro processor and explain the data structures used in macro processor?

10. what is literal? differentiate literals from immediate data?

11. Explain the following machine independent features of SIC assembler?
    
         a) symbol defining statements 

         b) Control sections


MODULE - 2

12. What is loader?what are advantages and disadvantages? explain boot strap loader with algorithm?

13. Enlist any four different loader options commands?

14. define the following  a) Linking loader b) Dynamic linking

15. Explain the working of linkage editor and linking loader

16. write data structures and pass 2 algorithm for linking loader? 

17. Write an algorithm for following a) absolute loader   b) linking loader

18. briefly explain design options of loaders











Thursday, 28 February 2019

YACC

b) Write YACC program to recognize valid identifier, operators and keywords in the given text (C
program) file.
%{
#include <stdio.h>
#include "y.tab.h"
extern yylval;
%}
%%
[ \t] ;
Lex File
[+|-|*|/|=|<|>] {printf("operator is %s\n",yytext);return OP;}
[0-9]+ {yylval = atoi(yytext); printf("numbers is %d\n",yylval); return DIGIT;}
int|char|bool|float|void|for|do|while|if|else|return|void {printf("keyword is
%s\n",yytext);return KEY;}
[a-zA-Z0-9]+ {printf("identifier is %s\n",yytext);return ID;}
. ;
%%
%{
#include <stdio.h>
#include <stdlib.h>
int id=0, dig=0, key=0, op=0;
%}
%token DIGIT ID KEY OP
%%
input:
DIGIT input { dig++; }
| ID input { id++; }
| KEY input { key++; }
| OP input {op++;}
| DIGIT { dig++; }
| ID { id++; }
| KEY { key++; }
| OP { op++;}
;
%%
#include <stdio.h>
extern int yylex();
extern int yyparse();
extern FILE *yyin;
main()
{
FILE *myfile = fopen("sam_input.c", "r");
if (!myfile) {
printf("I can't open sam_input.c!");
return -1;
}
yyin = myfile;
do {
yyparse();
} while (!feof(yyin));
printf("numbers = %d\nKeywords = %d\nIdentifiers = %d\noperators = %d\n",
dig, key,id, op);
}
void yyerror() {
printf("EEK, parse error! Message: ");
exit(-1);
}

Tuesday, 26 February 2019

RADAR

HOW DOES RADAR WORKS

RADAR plays an important role in identifying objects by sending radio signals. 

The word RADAR is an acronym for RAdio Detection And Ranging, and in its simplest form it consists of a transmitted radio signal aimed by an antenna in a particular direction, and a receiver that detects the echoes off any objects in the path of the signal, he says.
The transmitter consists of an electronic circuit that osciallates at a specific frequency, usually much higher than those frequencies used for radio or TV broadcasts.
This signal is sent out in short bursts of electromagnetic energy, called pulses, through the antenna which produces a narrow beam like that of a torch.
"Radar makes it possible to determine the direction to an object, generally referred to as the target, based on the direction the antenna is facing,".
The distance to the target is determined from the time taken between transmitting the pulse and receiving the echo. This can be accurately determined because the radar signal travels at the speed of light, which is constant.

Air traffic control

For air traffic control radars, the beam is shaped like a fan, narrow in the horizontal direction, and wide in the vertical direction, to accommodate high-flying planes.
This beam scans around in a circle once every two or three seconds and echoes are displayed on a circular display called a plan-position indicator.
The air traffic controller — or a computer — can track the echoes or 'blips' on the display to determine where the aircraft is heading. This is called primary radar.
"Primary radar is seldom used any more in isolation as there are too many planes in the sky,".
"These days, secondary radar is also used, in which a coded pulse sequence is sent to the aircraft and a transponder on the plane generates a coded return, containing a lot of information about the aircraft. This used to be called identification friend or foe, or IFF."
Air traffic controllers mostly use secondary radar to track commercial aircraft and only use real radar in the case where transponders are not fitted, are turned off or are broken.
"There was a case couple of decades back where a young man flew a light plane half way across the US without being detected as the air traffic controllers either had their primary radars turned off or thought his echo was from a flock of birds,".
If the aircraft transponder is switched off, it can be difficult to identify which one of the many primary radar "blips" on the air traffic control display corresponds to the aircraft you are interested in,.
"This may be why the transponder on flight 370 was apparently turned off at the range where the handover occurred from one air traffic control to another.

Limits to radar

Most people will have heard the expression 'flying below the radar'. This is named after a true phenomenon, Dr Brooker explains.
"It is caused by the interaction of the radar beam with the ground, which results in the beam 'lifting' off the horizon. If an aircraft is flying low enough, the beam hardly illuminates it and the range at which it can be seen is limited."
There are also limits to the distance over which radar can be used. The main problem with radar for long distance operation is the fact that the amount of power required to send and receive the signal is dependent on the distance to the aircraft raised to the power of four.
"Therefore if you want to double the range at which you can detect an aircraft, the amount of transmitted power must increase by a factor of 16."
Typical radars used to track planes out to a range of 100 kilometres or more transmit peak powers in the megawatts. However, the transmitted pulse is short, typically one micro second or so, and they only occur a few hundred times per second, so the average power is quite low.
For really long-range operation, the peak power required to send out the radar pulses become prohibitively large.
This has resulted in the development of innovations such as phased arrays that consist of a large number of smaller transmitters and receivers on a planar surface that operate in unison and pulse compression, which allows longer and lower power encoded pulses to be generated while still maintaining good range accuracy.
Another limitation to long-range radar is caused by attenuation through the atmosphere — even in clear air, but worse in the rain. This is inversely related to the wavelength of the signal, so long range radars operate at low frequency.

Hiding from radar

Electromagnetic waves "bounce" off objects that conduct electricity, so old-fashioned aircraft made from wood and canvas didn't produce big radar echoes.The same applies to modern planes made from carbon fibre composites. Aluminium skinned planes make the best targets.
"The shape of the aircraft is also important, and metal aircraft made from flat plates, sharp corners and edges generally produce strong echoes, so if you want to make an aircraft invisible, you can either make it from flat plates or facets that are aligned in such a way that the radar signals reflect away from the receiver. The F-117 stealth attack aircraft is an example of this."
Alternatively aircraft can be made without any right angles so that wings are blended into the body and external features are eliminated. Making an aircraft skin that absorbs radar energy using "radar absorbent materials" is another method to minimize the echo size.
"The B-2 stealth bomber is probably the state-of-the-art, which uses most of these techniques, and provides an echo about as big as that produced by a bumble bee."

Download Text Books

Download All TextBooks from 1st to 10th standard Click Here to Download http://www.ktbs.kar.nic.in/New/index.html#!/textbook