Friday, 19 June 2020

Digital Marketing

Digital marketing:
------------------------
       Digital marketing is the use of the Internet, mobile devices, social media, search engines, and other channels to reach consumers
Types of digital marketing:
-------------------------------------
  • Content marketing.
  • Search engine marketing.
  • Display Advertising.
  • Mobile Marketing.
  • Social Media Marketing.
  • Email Marketing.
  • Influencer Marketing.
  • Affiliate Marketing.

Let's list the different ways you can use the digital medium to popularize and drive conversions for your startup or business.
  • Search Engine Optimization (SEO) ...
  • Search Engine Marketing (SEM) ...
  • Content Creation. ...
  • Social Media Marketing (SMM) ...
  • Digital Display Advertising. ...
  • Retargeting and Remarketing. ...
  • Mobile Marketing.

Wednesday, 20 May 2020

Data Science



Data science is an inter-disciplinary field that uses scientific methods, processes, algorithms and systems to extract knowledge and insights from many structural and data. Data science is related to data miningdeep learning and big data.
Data science is a "concept to unify statisticsdata analysismachine learning and their related methods" in order to "understand and analyse actual phenomena" with data. It uses techniques and theories drawn from many fields within the context of mathematicsstatisticscomputer science, and information scienceTuring award winner Jim Gray imagined data science as a "fourth paradigm" of science (empiricaltheoreticalcomputational and now data-driven) and asserted that "everything about science is changing because of the impact of information technology" and the data deluge


Tuesday, 11 February 2020

C Programming Interview Questions

1) What is the use of printf() and scanf() functions?

printf(): The printf() function is used to print the integer, character, float and string values on to the screen.
Following are the format specifier:
  • %d: It is a format specifier used to print an integer value.
  • %s: It is a format specifier used to print a string.
  • %c: It is a format specifier used to display a character value.
  • %f: It is a format specifier used to display a floating point value.
scanf(): The scanf() function is used to take input from the user.

2) What is the use of a static variable in C?

Following are the uses of a static variable:
  • A variable which is declared as static is known as a static variable. The static variable retains its value between multiple function calls.
  • Static variables are used because the scope of the static variable is available in the entire program. So, we can access a static variable anywhere in the program.
  • The static variable is initially initialized to zero. If we update the value of a variable, then the updated value is assigned.
  • The static variable is used as a common value which is shared by all the methods.
  • The static variable is initialized only once in the memory heap to reduce the memory usage

    3) What is the use of the function in C?

    Uses of C function are:
    • C functions are used to avoid the rewriting the same code again and again in our program.
    • C functions can be called any number of times from any place of our program.
    • When a program is divided into functions, then any part of our program can easily be tracked.
    • C functions provide the reusability concept, i.e., it breaks the big task into smaller tasks so that it makes the C program more understandable.

C Programming Interview Questions

1) What is C language?

C is a mid-level and procedural programming language. The Procedural programming language is also known as the structured programming language is a technique in which large programs are broken down into smaller modules, and each module uses structured code. This technique minimizes error and misinterpretation

2) Why is C called a mid-level programming language?

C is called a mid-level programming language because it binds the low level and high -level programming language. We can use C language as a System programming to develop the operating system as well as an Application programming to generate menu driven customer driven billing system

3) What are the features of the C language?

The main features of C language are given below:
  • Simple: C is a simple language because it follows the structured approach, i.e., a program is broken into parts
  • Portable: C is highly portable means that once the program is written can be run on any machine with little or no modifications.
  • Mid Level: C is a mid-level programming language as it combines the low- level language with the features of the high-level language.
  • Structured: C is a structured language as the C program is broken into parts.
  • Fast Speed: C language is very fast as it uses a powerful set of data types and operators.
  • Memory Management: C provides an inbuilt memory function that saves the memory and improves the efficiency of our program.
  • Extensible: C is an extensible language as it can adopt new features in the future.

Wednesday, 24 July 2019

Android rating bar


import android.os.Bundle;
import android.app.Activity;
import android.view.View.OnClickListener;
import android.view.*;
import android.widget.Button; 
import android.widget.RatingBar; 
import android.widget.Toast; 

public class MainActivity extends Activity {
RatingBar r1;
Button b1;

       @Override
       protected void onCreate(Bundle savedInstanceState) {
              super.onCreate(savedInstanceState);
              setContentView(R.layout.activity_main);
              addListenerOnButtonClick(); 
       }

        public void addListenerOnButtonClick(){ 
               r1=(RatingBar)findViewById(R.id.ratingBar1); 
               b1=(Button)findViewById(R.id.button1); 
               //Performing action on Button Click 
               b1.setOnClickListener(new OnClickListener(){ 
        
                   @Override 
                   public void onClick(View arg0) { 
                       //Getting the rating and displaying it on the toast 
                       String rating=String.valueOf(r1.getRating()); 
                       Toast.makeText(getApplicationContext(), rating, Toast.LENGTH_LONG).show(); 
                   } 
                    
               }); 
           } 
} 

Android spinner


import android.view.View;
import android.widget.*;
import android.widget.AdapterView.OnItemSelectedListener;
public class MainActivity extends Activity implements OnItemSelectedListener{
Spinner s1;
String[] country = { "India", "USA", "China", "Japan", "Other",  }; 
            @Override
            protected void onCreate(Bundle savedInstanceState) {
                        super.onCreate(savedInstanceState);
                        setContentView(R.layout.activity_main);
                        s1=(Spinner)findViewById(R.id.spinner1);
                        s1.setOnItemSelectedListener(this);
//Creating the ArrayAdapter instance having the country list 
ArrayAdapter<String> aa = new ArrayAdapter<String>(this,android.R.layout.simple_spinner_item,country); 
        aa.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); 
   //Setting the ArrayAdapter data on the Spinner 
        s1.setAdapter(aa); 
}
public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
        String item = parent.getItemAtPosition(position).toString();
        Toast.makeText(parent.getContext(), "Selected: " + item, Toast.LENGTH_LONG).show();
    }
public void onNothingSelected(AdapterView<?> arg0)
   {
   }
}

Slide - CSS

   <html> <head> <style> /* Slideshow container */ .slideshow-container {   max-width: 1000px;   position: relative;   mar...