Monday 7 February 2022

What is BAT?

 

The Basic Attention Token (BAT) was created by the co-founder of Mozilla and Firefox, Brendan Eich, to improve the security, fairness, and efficiency of digital advertising through blockchain technology. It is the native token of the Brave web browser built on top of Ethereum (ETH).

 

Note: Brendan Eich also created JavaScript 😮. So you can imagine now how important it is.

 

There are three different entities in the world of market:

Audience

Content Publishers

Advertisers

Now a days everyone is using ad blocker in the browser so it is not beneficial for the advertisers to pay for ads to Google or some other company when they know that ads will be blocked by the user.

So now what to do?

Here Brave comes.

Brave gives audience some rewards for watching the ads and in this process no data stealing is done.

Data is not sent to the advertisers or the one who publish ads.

So now advertisers are aware that, yes someone is there who is watching our ads and BAT helps for all three entities equally.

 

 

Friday 4 February 2022

Bubble Sort

 Bubble Sort is a sorting algorithm and this algorithm is used to sort (arranging the elements in ascending or descending order) arrays/list.

Application

Understand the working of Bubble sort

  • Bubble sort is mainly used in educational purposes for helping students understand the foundations of sorting.
  • This is used to identify whether the list is already sorted. When the list is already sorted (which is the best-case scenario), the complexity of bubble sort is only O(n).
  • In real life, bubble sort can be visualized when people in a queue wanting to be standing in a height wise sorted manner swap their positions among themselves until everyone is standing based on increasing order of heights.

Algorithm:

ALGORITHM bubble_sort(a[], size){
    for(i=size-1;i>0;i--){
        for(j=0;j<size-1;j++){
            //when adjacent nodes have greater value
            if(a[j] > a[j+1]{
                swap(a[j],a[j+1]);
            }
        }//end of child for loop
    }//end of parent for loop
}//end of bubble_sort function


Pseudo Code:

#include<iostream>
using namespace std;


void bubble_sort(int a[],int size){
    bool is_swapped = false;
       
    for(int i=size-1;i>0;i--){
        for(int j=0;j<i;j++){
            //check whether the fist element is bigger or not
            if(a[j] > a[j+1]){
                swap(a[j],a[j+1]);
                is_swapped = true;
            }
        }
        if(! is_swapped){
            break;
        }
    }
}
void print_array(int a[],int size){
    for(int i=0;i<size;i++){
        cout<<a[i]<<"\t";
    }
    cout<<endl;
}

int main(){
    int size = 10;
    int a[size] = {3,20,22,23,29,34,44,83,90,99};
    /**
     * sorted array of {34,23,44,90,29,20,3,99,83,22};
     * a = {3,20,22,23,29,34,44,83,90,99};
     *index 0  1  2  3  4  5  6  7  8  9
     */
    cout<<"Before sorting array: "<<endl;
    print_array(a,size);
    cout<<"After sorting array: "<<endl;
    bubble_sort(a,size);
    print_array(a,size);
    return 0;
}


Complexity:

Best Case          : O(n)

Worse Case       : O(n2)

Average Case    : O(n2)

Space                : O(n)

Auxiliary Space : 1 (no auxiliary space)

Tuesday 7 April 2020

Inter Applet Communication

What is Inter Applet Communication ?

Inter Applet Communication means the communication of applets to each other in the same browser running simultaneously.
Lets understand it by an example:
suppose if there are 2 applets running in the browser that are applet1 and applet2.
Now suppose we want that when we click on the applet1's button then a message should be displayed on applet2
by using Inter Applet Communication we can do that thing and all those things that are related with the applet's communication.

Now the question is how can we do that?

so java.applet.AppletContext class provides the facility of communication between applets.
we provide the name of applets in the html file and by using this particular name with getApplet() method we can access the particular applet.

Syntax of getApplet() method:

public Applet getApplet(String appletName);

Program

first I am creating the html file named iac.html
<html>
<head>
<title>inter applet communication</title>
</head>
<body>
<applet code="Applet1.class" width="1000" height="500" name="applet1">
</applet>
<hr/>
<applet code="Applet2.class" width="1000" height="500" name="applet2">
</applet>
</body>
</html>

Applets

What is an Applet in java?
  • Applet is an special java program that runs on the client's machine's browser.
  • Applets are used to generate dynamic contents on the web page.
Today Applets are replaced by the java's Servlet but remember one thing that Servlet are not on client side but they are server side whereas Applets are client side.

what is meant by server side and client side?

What are the advantages and disadvantages of Applets?

Advantage of Applet

There are many advantages of applet. They are as follows:
  • It works at client side so less response time.
  • Secured
  • It can be executed by browsers running under many platforms, including Linux, Windows, Mac Os etc.

Drawback of Applet

  • Plugin is required at client browser to execute applet.

Tuesday 14 January 2020

What is Aptitude?

What is Aptitude?
This is the question which you should ask to yourself someday at a moment of time(often it is when you are preparing for some exams like government jobs or for interviews of companies)
don't worry I am here and you will definitely know the answer of this question in this article so stay tuned.

Aptitude: It is none other than the ability to do something and what does something mean? By something I means in a certain level you need some abilities.
lets take an example: If you are a student than aptitude generally means logical reasoning(how you solve problems by using your mental powers), but if you are a housewife than the aptitude doesn't means logical reasoning or mathematical power, it means here cooking skills and most important is how a house manages the house.

Now clear one thing that you are specific in different-different regions and also you need different-different abilities to be master in your area or region.

Now why does edu which is a Computer Science Portal describing about Aptitude?
so dear understand one thing Aptitude is very important and keep one thing in mind that if you are in the first year or you are in preparation of companies interview then it is the very useful skill you must have in your skill toolkit.

Now if you are preparing for the companies interview than logical reasoning is that part you must learn, and in further upcoming articles we will deep go into it and will understand how to crack that.

Thank You
Yours Teacher and Well Wisher
Sushil Jangid
Remember one thing:
उद्यमेन हि सिध्यन्ति कार्याणि न मनोरथैः ।
न हि सुप्तस्य सिंहस्य प्रविशन्ति मुखे मृगाः ॥

Companies Related with IT


In this article we are going to learn about a company named Capgemini:

First of all the question arises that what is Capgemini?

So for your information Capgemini is French Multinational Company that provides consulting, technology, professional and outsourcing services. It's headquarter is in Paris, France.

Important Factors:

  • Capgemini Founder: Serge Kampf (founded in 1967) (now dead, death date: March 15 2016)
  • In 1974 Sogeti acquired Gemini Computers Systems, a US company based in New York.
  •  In 1975, having made two major acquisitions of CAP (Center d'Analyze et de Programmation) and Gemini Computer Systems, and following resolution of a dispute with the similarly-named CAP UK over the international use of the name 'CAP', Sogeti renamed itself as CAP Gemini Sogeti.
  • In 1996, the name was simplified to Cap Gemini with a new group logo. All operating companies worldwide were re-branded to operate as Cap Gemini.
  • In 2017, Cap Gemini S.A. became Capgemini SE, and its Euro next ticker name similarly changed from CAP GEMINI to CAPGEMINI.


what useful for us?
ans: both Capgemini and Sogeti
·        Sogeti is a wholly owned subsidiary of Capgemini Group. It is an information technology consulting company specializing in technology and engineering professional services. Sogeti developed the Test Management Approach.

Management
Its Executive Committee consists of 25 members.
CEO: Paul Hermelin (joined in 1993 and appointed as CEO in 2002. In May 2012, Hermelin became chairman and CEO of the Capgemini Group)



Friday 10 January 2020

Career Opportunities after BCA


What are the Career Opportunities After BCA?
here your doubt will be cleared.

Bachelor of Computer Application (BCA) prepares a student for a bright career in Information and Technology. But to be able to make the most of this three-year program, the students need to choose the right specialization at the post-graduate level.
Students often face the dilemma of choosing the right specialization at the masters level, which can be tackled by three-point analysis - Interest, Aptitude, Future.
However, to be able to decide the right way to move ahead, it is critical to know what options are available in the market.
After completing your BCA, you can opt for the following program:
·        Master of Computer Applications(MCA)
·        Masters Degree in Information Management (MIM)
·        Masters in Computer Management (MCM)
·        Post Graduate Program in Corporate Studies (PGPCS) 
·        Information Security Management (ISM)
·        Master of Business Administration (MBA)
About Master of Computer Applications (MCA) course
MCA is a post-graduate degree in computer applications. This is a senior-level course that prepares professionals to meet the complex demands of the IT industry. It emphasizes on planning, designing and building of complex commercial application software and system software, business management and mathematics.
MCA career prospects
Software Engineer
Software Consultant
Network Engineer
Database Administrator
Test Engineer
System Analyst
Programmer
Quality Assurance Engineer
About Masters Degree in Information Management (MIM)
A Masters Degree in Information Management prepares a student in leading the department of information and technology in an organisation. The 2-year course provides the student with skills and knowledge that helps in understanding and fulfilling the users’ need, develop new technologies and maintain information assets.
MIM Career Prospects:
System Analysts
Computer Network Architects
MIS Director
Videogame Designer
Management Consultant
Mobile Application Developer
IT Consultant
Chief Information Officer
IS/IT Manager 
About Masters in Computer Management (MCM)
Masters in Computer Management or MCM is the combination of the computer and managerial skills. The course imparts students, the basic skill set of management and computers. The students are trained in not only problem solving and building intricate computer applications but also given basic training marketing management, financial management and operations management.
MCM career prospects
Computer Systems Analysts
Computer and Information Systems Managers
Information Security Analysts
Database Administrators
After completing MCM, a candidate can also opt for a various government job through competitive exams. They can secure a job in various government organisations like ISRO, Railways, Defense, SAIL, BHEL etc.
About Post Graduate Program in Corporate Studies (PGPCS) 
As the name suggests, PGPCS is a two-year program in management studies, BCA students can undertake in order to make a career in marketing, finance, operations IT and other branches of management.
PGPCS career prospects
After BCA+PGPCS prospects are bright and numerous in the corporate world. The combination opens up various doors for an individual from IT manager, department head to entrepreneurship. 
About Information Security Management (ISM)
Information Security Management is defined as a study in security technology, policy, risk management, and evaluation. The post-graduate program imparts knowledge and skill sets in managing complex technical security system, operational costs, diverse policies, user behavior, etc. The course entails a comprehensive training critical for security of computer networks in organisations.
ISM Career Prospects:
Chief Information Security Officer
Security Architect
Security Director
Information Security Analyst
Network Security Engineer
Incident Responders
About Master of Business Administration (MBA)
Those who have a managerial bent can opt for MBA after BCA. Though the ideal option would be MCA or PG course in IT, MBA is also a lucrative option, nonetheless. Students who plan to pursue MBA after BCA should choose IT as specialization for a bright and secure future. Premier management institutes like IIM Ahmedabad, IIM Bangalore, IIM Calcutta, MDI, XLRI, IIFT etc. offer MBA-IT program. Students can also opt for Marketing, Finance and Operations as specialization.
MBA career prospects
Business/IT alignment
IT Governance            
IT Financial Management
IT Service Management
Sourcing
IT Configuration Management
Chief Technology Officers
Chief Information Officers
IT Directors
IT Managers
Thank You
If you have any query still then please comment below in comment box.


What is BAT?