Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Report Final

Download as pdf or txt
Download as pdf or txt
You are on page 1of 55

An Industrial Report

on
Sajilo Coding (Application)

DIPLOMA
in
Computer Engineering

By

Nitesh kushwaha
(20SDSCE01158)

DIPLOMA IN COMPUTER ENGINEERING


RK UNIVERSITY
BHAVNAGAR ROAD, RAJKOT

APRIL 2023
CERTIFICATE

This is to certify that the work which is being presented in the Project
Report entitled " Sjilo Coding App", inpartial fulfillment of the
requirements for the award of theDiploma Engineering and submitted
to the School of Diploma studies, RK University, is an authentic record
of my own work carried out during a period from December 2022 to
April 2023.

The matter presented in this Project Report has not been


submitted by us for the award of any other degree elsewhere.

Name of Students: Enrollment No.:


Nitesh Kushwaha 20SDSCE01158

This is to certify that the above statement made by the


student/students is/are correct to the best of my knowledge.

Internal Guide: Head of Department:

Prof. Milan Savaliya Prof. Ravindra Dangar


Computer Engg. Computer Engg.
SDS, RK University SDS, RK University

April 2023
SCHOOL OF DIPLOMA STUDIES, RK UNIVERSITY, RAJKOT

i
ACKNOWLEDGEMENTS

I am deeply grateful to express my sincere appreciation to all the


individuals who have contributed to my growth and development during
my academic journey.

I would like to extend my heartfelt gratitude to Dr. Amit Lathigara,


Director, and Dean of the Faculty of Technology at R. K. University, for
his meticulous planning of the academic curriculum. His efforts have
helped me gain not only academic knowledge but also practical skills in
the form of industrial training.

I would also like to express my sincere thanks to our Head of


Department, Prof. Ravindra Dangar, and my Internal Guide, Prof. Milan
Savaliya, for their invaluable advice, guidance, and moral support
throughout my project. Their unwavering encouragement has played a
crucial role in shaping my research work.

Once again, I would like to express my sincere appreciation to all those


who have supported me in this journey, and I hope to make the best use
of the knowledge and skills I have gained.

NITESH KUSHWAHA

ii
ABSTRACT

Sajilo Coding app is a tool that helps people learn about computer programming. It has lots of different
chapters about different programming languages like C++, Java, C, Python. You can use the app to search
for specific topics you want to learn about, and then read the chapters on your phone. The app is great
for students and anyone who wants to learn more about programming. It also has old exam papers to
help people practice for tests. The user interface of our app is user-friendly and intuitive, making it easy
for users to search for specific topics or browse through the available chapters.

iii
Table of Contents :
CHAPTER1 : INTRODUCTION ..................................................................................................................................1

1.1 PROJECT SUMMARY............................................................................................................................................................................ 1


1.2 AIM AND OBJECTIVE ........................................................................................................................................................................... 1
1.3 Features ............................................................................................................................................................................................ 1

CHAPTER2 : SYSTEM REQUIREMENTS .....................................................................................................................2

2.1 USER CHARACTERISTICS ..................................................................................................................................................................... 2


2.2 HARDWARE AND SOFTWARE REQUIREMENTS ................................................................................................................................... 2
2.2.1 Hardware ..................................................................................................................................................... 2
2.2.2 Software ...................................................................................................................................................... 3

CHAPTER3 : COMPANY PROFILE .............................................................................................................................4

3.1 ABOUT US ........................................................................................................................................................................................... 4


3.2 WORKING AREAS ................................................................................................................................................................................ 4
3.3 Process We Follow......................................................................................................................................................................... 4

CHAPTER4 : SYSTEM ANALYSIS ...............................................................................................................................5


4.1 FEASIBILITY STUDY ........................................................................................................................................................................................ 5
4.1.1 TECHNICAL STUDY ....................................................................................................................................................................................... 5
4.1.2 ECONOMIC STUDY ....................................................................................................................................................................................... 5
4.1.3 OPERATIONAL STUDY.................................................................................................................................................................................. 6

CHAPTER 5 : SYSTEM DESIGN ................................................................................................................................7


5.1 ACTIVITY DIAGRAM ........................................................................................................................................................................................ 7
5.2 DATA FLOW DIAGRAM ................................................................................................................................................................................... 8
5.3 USE CASE DIAGRAM ....................................................................................................................................................................................... 9

CHAPTER 6 : FUTURE WORK ................................................................................................................................ 10

CHAPTER7 : PROJECT INFO ................................................................................................................................. 11

7.1 HOW WILL USER USE THIS APP AND DEFINITION ............................................................................................................................. 11

CHAPTER 8 : SYSTEM TESTING ............................................................................................................................ 12

CHAPTER 9 : SAMPLE CODE ................................................................................................................................ 13

CHAPTER 10: SCREENSHOTS ............................................................................................................................... 45

CHAPTER 11 : CONCLUSIONS .............................................................................................................................. 47

CHAPTER 12 : REFERENCES ................................................................................................................................. 49

iv
20SDSCE01158
Chapter 1 :
INTRODUCTION
1.1. PROJECT SUMMARY
➢ Introducing Sajilo Coding, a comprehensive app designed to help individuals learn
about computer programming. With a wealth of information on various
programming languages such as C++, Java, C, and Python, this app provides an
excellent resource for both students and individuals seeking to expand their
knowledge of coding. Sajilo Coding is a user-friendly app that allows users to search
for specific topics or browse through various chapters effortlessly. The app's user
interface is intuitive, making it easy to navigate and find relevant information.
Additionally, the app features old exam papers to aid in practicing for tests. Whether
you're a beginner or an experienced programmer, Sajilo Coding has something for
everyone. Start your journey towards mastering computer programming today with
Sajilo Coding. It’s free application

1.2. AIM AND OBJECTIVE


➢ To provide information on various programming languages such as C++, Java,
C, and Python through a variety of chapters and topics.

➢ To ensure that the app is easy to use and navigate,with an intuitive use interface
that allows users to search for specific topics or browse through chapters
effortlessly Creating a website that can buy good and designing Aluminium
louvers Quote at best deals and low prices.

➢ To include old exam papers as a resource for users to practice and prepare for
tests.

1.3. FEATURES OF SAJILO CODING


➢ Login and Registration

➢ Old Exam Paper

➢ User-friendly interfase

SAJILO CODING 1 Computer -SDS


20SDSCE01158

Chapter 2 :

SYSTEM REQUIREMENTS

2.1 USER CHARACTERISTICS


it is used by

➢ User

➢ Self-directed learners

➢ Beginner students

2.2 H. AND S. REQUIREMENTS


➢ Processor: Minimum 1 GHz; Recommended 2GHz or more

➢ Ethernet connection (LAN) OR a wireless adapter (Wi-Fi)

➢ Hard Drive: Minimum 32 GB; Recommended 64 GB or more

➢ Memory (RAM): Minimum 1 GB; Recommended 4 GB or above

➢ Sound card w/speakers

➢ Some classes require a camera and microphone

2.2.1 Hardware
➢ System
➢ 8 GB RAM

SAJILO CODING 2 Computer -SDS


20SDSCE01158

2.2.2 Software
➢ Android

SAJILO CODING 3 Computer -SDS


20SDSCE01158

Chapter 3 :

COMPANY PROFILE

3.1 ABOUT US
➢ We believe that RKU is place where “change” happens. Our
student are challenged and motivated to change their perspective by
Our faculties constantly change their instructional approaches to
match industry requirement and student needs. Our student go on to
change the society with knowledge they have acquired at Rku.

3.2 WORKING AREAS


➢ Website Development

➢ Application Development

3.3 What process we follow


➢ Research

➢ Planning

➢ Creativity

➢ Production

➢ Texting

SAJILO CODING 4 Computer -SDS


20SDSCE01158

Chapter 4 :

SYSTEM ANALYSIS

4.1 FEASIBILITY STUDY

➢ Feasibility study is the most important of analyses through which analyst can come
to know whether their system is practically possible or not for that analyst have to
make study over system in different -different aspects. Following are three ways
through which we can check feasibility of system.

4.1.1 TECHNICAL STUDY

➢ After doing feasibility study for the system we come one conclusion that ANDROID
as a front- end tool and JSON Parsing back-end tool. And system requirement can
be easily fulfilled using this tool. So, we can say that this system is technically
feasible.

4.1.2 ECONOMIC STUDY

➢ For doing economical study we have to compare all the incomes and expenses
related to this application. From incomes and costs comparisons we can say that
this system is economically feasible for all Users.

SAJILO CODING 5 Computer -SDS


20SDSCE01158

4.4.3 OPERATIONAL STUDY

➢ After operational feasibility we can say that this system will be operational feasible
because that system will be JSON based and user working without internet, they
have basic knowledge of internet and computer so it is easy to explain them and
this system is operation feasible.

SAJILO CODING 6 Computer -SDS


20SDSCE01158

Chapter 5 :

SYSTEM DESIGN

5.1 ACTIVITY DIAGRAM

1.01 Activity Diagram

SAJILO CODING 7 Computer -SDS


20SDSCE01158
5.2 DATA FLOW DIAGRAM

1.02 Data Flow Diagram

SAJILO CODING 8 Computer -SDS


20SDSCE01158
5.3 USE CASE DIAGRAM

1.2 Use Case Diagram

SAJILO CODING 9 Computer -SDS


20SDSCE01158

Chapter 6 :

FUTURE WORK

Future Work The aim of this report is to identify possible future developments in the policy documentation
process. The app now offers programming books in various languages such as C, C++, Python, Java, etc.,
where each book is divided into chapters for easy guidance they want to improve their programming skills.
However, in the fast-paced programming world, it is important to continuously develop and improve the
application with new features to keep the application relevant and competitive

One possible future development of the application is to expand the library to include other topics such as
Android, JavaScript, or web development frameworks. This allows the application to appeal to a wide range
of users with different interests and needs. Other possible improvements include the inclusion of interactive
learning elements such as quizzes, for users to test their knowledge and better retain information. Additionally,
the inclusion of video content can help users better understand programming concepts, especially those who
prefer to learn through visual tools.

Creating communities within the application is another possible development, allowing users to interact with
each other, share knowledge and access information about their work. Personalization features such as goal
setting or progress tracking can help keep users engaged and motivated. Optimizing the app for mobile use is
also important, since many people have access to content on their mobile devices.

There may be some challenges in implementing these potential future improvements, such as finding new
features, creating engaging video content, creating interactive quizzes, and carrying local resources will be
used, however

SAJILO CODING 10 Computer -SDS


20SDSCE01158

Chapter 7 :

PROJECT INFO
7.1 HOW WILL USER USE THIS APP AND DEFINITION
➢ To use sajilo coding User need to Login in our application .if user hasn’t account they can
need to register after registration user can redirect in app dashboard . In dashboard they
find multiple programming subject as user choice We are provide all subject in deep user
can learn from our application with out any cost it’s totally free app . if user has any
issue they can contact us using email ,facebook page all contact is given in developer
page . User can also fide all subject tutorial and it’s videos .

SAJILO CODING 11 Computer -SDS


20SDSCE01158

Chapter 8 :

SYSTEM TESTING

➢ System testing is a critical process in ensuring the effectiveness, reliability, and security of
theSajilo coding Apps. It involves a comprehensive evaluation of the software and hardware
components of the system to ensure that they meet the required specifications and
performance standards.

➢ During the system testing phase, the following tests are typically conducted:

• Functional Testing: This involves testing the system's functionality to ensure that it meets
the desired requirements. This includes testing each feature and function of the system,
verifying that they are working as intended, and ensuring that they are free of defects or
errors.

• Performance Testing: This involves testing the system's performance to ensure that it can
handle the expected workload and perform optimally under different conditions. This
includes stress testing, load testing, and scalability testing to ensure that the system can
handle high volumes of data and traffic.

• Security Testing: This involves testing the system's security measures to ensure that it is
secure from potential threats and vulnerabilities. This includes penetration testing,
vulnerability testing, and data protection testing to ensure that the system can protect
sensitive data and prevent unauthorized access.

• User Acceptance Testing: This involves testing the system from the user's perspective to
ensure that it meets their needs and is easy to use. This includes testing the system's
usability, accessibility, and user interface to ensure that it is intuitive and user-friendly.

• Integration Testing: This involves testing the system's compatibility with other systems and
applications. This includes testing the system's ability to integrate with third-party software,
hardware, and other systems to ensure that it can function seamlessly with other systems.

SAJILO CODING 12 Computer -SDS


20SDSCE01158

Chapter 9 :
SAMPLE CODE

i.)Main xml
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">

<androidx.viewpager.widget.ViewPager
android:id="@+id/viewPager"
android:layout_width="match_parent"
android:layout_height="match_parent"/>

<androidx.cardview.widget.CardView
android:id="@+id/nextCard"
android:layout_width="60dp"
android:layout_height="60dp"
app:cardCornerRadius="30dp"
android:backgroundTint="@color/purplee"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
android:layout_margin="30dp"
android:clickable="true"
android:focusable="true"
android:foreground="?attr/selectableItemBackground">

<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"

android:padding="13dp"

SAJILO CODING 13 Computer -SDS


20SDSCE01158

android:src="@drawable/ic_next"

app:tint="@color/white" />

</androidx.cardview.widget.CardView>

<LinearLayout
android:id="@+id/dotsLayout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
app:layout_constraintTop_toTopOf="@id/nextCard"
app:layout_constraintBottom_toBottomOf="@id/nextCard"
app:layout_constraintStart_toStartOf="parent"
android:layout_margin="30dp"/>

</androidx.constraintlayout.widget.ConstraintLayout>

ii.)Register.xml

<?xml version="1.0" encoding="utf-8"?>


<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".register"
android:background="#ffff"
android:padding="20dp">

<ImageView
android:layout_width="200dp"
android:layout_height="200dp"
android:layout_gravity="center"
android:src="@drawable/smartphone" />

<TextView

SAJILO CODING 14 Computer -SDS


20SDSCE01158

android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="Register "
android:textColor="@color/purple_500"
android:textSize="30sp" />

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:orientation="vertical">

<com.google.android.material.textfield.TextInputLayout
android:id="@+id/et_name"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Full Name">

<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
tools:ignore="TouchTargetSizeCheck" />
</com.google.android.material.textfield.TextInputLayout>

<com.google.android.material.textfield.TextInputLayout
android:id="@+id/et_email"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Email"
app:passwordToggleTint="@color/purple_500">

<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"

SAJILO CODING 15 Computer -SDS


20SDSCE01158

android:layout_height="wrap_content"
android:inputType="textEmailAddress"
tools:ignore="TouchTargetSizeCheck" />
</com.google.android.material.textfield.TextInputLayout>

<com.google.android.material.textfield.TextInputLayout
android:id="@+id/et_repassword"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Phone"
app:passwordToggleTint="@color/purple_500">

<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="phone"
tools:ignore="TouchTargetSizeCheck" />
</com.google.android.material.textfield.TextInputLayout>

<com.google.android.material.textfield.TextInputLayout
android:id="@+id/et_password"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Password"
app:passwordToggleEnabled="true"
app:passwordToggleTint="@color/purple_500">

<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"

tools:ignore="TouchTargetSizeCheck" />
</com.google.android.material.textfield.TextInputLayout>
</LinearLayout>

SAJILO CODING 16 Computer -SDS


20SDSCE01158

<Button

android:id="@+id/btn_register"
android:layout_width="match_parent"
android:layout_height="wrap_content"

android:layout_marginTop="5dp"
android:layout_marginBottom="5dp"
android:background="@color/purple_500"
android:text="Register"
android:textColor="#fff" />

</LinearLayout>

iii).header.xml

<?xml version="1.0" encoding="utf-8"?>


<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/nav_header"
android:layout_width="match_parent"
android:layout_height="160dp"
android:background="#071C47"
android:clickable="true"
android:focusable="true"
android:foreground="?attr/selectableItemBackgroundBorderless"
android:gravity="bottom"
android:orientation="vertical"
android:padding="16dp"
android:theme="@style/ThemeOverlay.AppCompat.Dark"
tools:targetApi="m">

<ImageView
android:id="@+id/nav_header_imageView"
android:layout_width="150dp"
android:layout_height="64dp"
android:src="@drawable/smartphone"
android:layout_marginStart="0dp"/>

SAJILO CODING 17 Computer -SDS


20SDSCE01158

<TextView

android:id="@+id/nav_header_textView"

android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/indigo_daisy"
android:paddingTop="16dp"

android:text="@string/codin_with_sajilo"
android:textStyle="bold"
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
android:textSize="30dp" />
</LinearLayout>
<?xml version="1.0" encoding="utf-8"?>
iv).Customlistview.xml

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/mainLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="6dp">

<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:cardBackgroundColor="@color/bg"
app:cardCornerRadius="10dp"
app:cardElevation="5dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:contentPadding="1dp">

<androidx.constraintlayout.widget.ConstraintLayout

SAJILO CODING 18 Computer -SDS


20SDSCE01158

android:layout_width="match_parent"
android:layout_height="match_parent">

<ImageView
android:id="@+id/icon"
android:layout_width="57dp"
android:layout_height="74dp"
android:padding="5dp"
app:layout_constraintBaseline_toTopOf="parent"

app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:srcCompat="@drawable/documents"/>

<TextView
android:id="@+id/topic"
android:layout_width="273dp"
android:layout_height="80dp"
android:layout_alignParentTop="false"
android:layout_marginStart="16dp"
android:gravity="center"
android:textColor="#FAF4F4"
android:text="JAVA"
android:textSize="15sp"
app:layout_constraintEnd_toEndOf="parent"
tools:ignore="MissingConstraints" />

</androidx.constraintlayout.widget.ConstraintLayout>

</androidx.cardview.widget.CardView>

</RelativeLayout>

v).Activitiytutorial.xml

SAJILO CODING 19 Computer -SDS


20SDSCE01158

<?xml version="1.0" encoding="utf-8"?>


<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"

xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".Tutorial_2_java">

<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"

android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#071C47"
android:textAlignment="center"
android:theme="@style/Theme.AppCompat.DayNight.DarkActionBar"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:title="Tutorial-02"
app:titleMarginStart="65dp"
app:titleTextColor="#ffff"
tools:ignore="MissingConstraints" />

<ImageView
android:id="@+id/backbtn"
android:layout_width="45dp"
android:layout_height="53dp"
android:src="@drawable/ic_arrow_left"
tools:ignore="MissingConstraints"
tools:layout_editor_absoluteX="0dp"
tools:layout_editor_absoluteY="0dp" />

<ScrollView
android:layout_width="match_parent"
android:layout_height="703dp"
android:layout_marginTop="16dp"
android:padding="8dp"

SAJILO CODING 20 Computer -SDS


20SDSCE01158
app:layout_constraintBottom_toBottomOf="parent"

app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/toolbar">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="45dp"
android:orientation="vertical"
tools:ignore="MissingConstraints">

<HorizontalScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:justificationMode="inter_word"
android:id="@+id/c0"
android:textAlignment="textStart"
android:textColor="@color/box2"
android:textSize="16sp" />

</HorizontalScrollView>

</LinearLayout>
</ScrollView>

</androidx.constraintlayout.widget.ConstraintLayout>

SAJILO CODING 21 Computer -SDS


20SDSCE01158

vi).Storingdata

package com.example.SaziloCoding;

public class storingdata {

String username, email,password,phone;

public storingdata() {
}

public storingdata(String username, String email, String password, String phone) {

this.username = username;
this.email = email;
this.password = password;
this.phone = phone;
}

public String getUsername() {


return username;
}

public void setUsername(String username) {


this.username = username;
}

public String getEmail() {


return email;
}

public void setEmail(String email) {


this.email = email;
}

public String getPassword() {

SAJILO CODING 22 Computer -SDS


20SDSCE01158

return password;
}

public void setPassword(String password) {


this.password = password;
}

public String getPhone() {


return phone;
}

public void setPhone(String phone) {


this.phone = phone;
}
}

vii). AdapterRecycler

package com.example.SaziloCoding;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;

import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;

public class AdapterRecycler extends


RecyclerView.Adapter<AdapterRecycler.programmingViewHolder> {

private String[] data;


public AdapterRecycler(String[] data) {this.data =data;}

SAJILO CODING 23 Computer -SDS


20SDSCE01158

@NonNull
@Override
public programmingViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int
viewType) {
LayoutInflater inflater = LayoutInflater.from(parent.getContext());
View view = inflater.inflate(R.layout.javarecycleview_row,parent, false);
return new programmingViewHolder(view) ;

@Override
public void onBindViewHolder(@NonNull programmingViewHolder holder, int position) {
String title = data[position];
holder.topic.setText(title);

@Override
public int getItemCount() {
return data.length;
}

public class programmingViewHolder extends RecyclerView.ViewHolder{


ImageView icon;
TextView topic;
public programmingViewHolder(@NonNull View itemView) {
super(itemView);
icon = itemView.findViewById(R.id.icon);
topic = itemView.findViewById(R.id.topic);
}
}
}
viii). Dashbord.xml

<?xml version="1.0" encoding="utf-8"?>


<androidx.drawerlayout.widget.DrawerLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"

SAJILO CODING 24 Computer -SDS


20SDSCE01158

xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/drwerlayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/white"
android:fitsSystemWindows="true"
tools:context=".dashbord"
tools:openDrawer="start">

<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
android:id="@+id/swipe_refresh"
android:layout_width="match_parent"
android:layout_height="match_parent">

<ScrollView
android:layout_width="match_parent"

android:layout_height="match_parent">

<!--this is navigation menu -->


<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">

<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:theme="@style/Theme.AppCompat.DayNight.DarkActionBar"
app:title="Sajilo Coding"
app:titleMarginStart="65dp"
app:titleTextColor="@color/box2"
tools:ignore="MissingConstraints" />

SAJILO CODING 25 Computer -SDS


20SDSCE01158

<TextView
android:layout_width="91dp"
android:layout_height="58dp"
android:fontFamily="@font/indigo_daisy"
android:text="Sajilo"
android:textSize="36dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/imageView2"
app:layout_constraintHorizontal_bias="0.107"
app:layout_constraintStart_toStartOf="parent"

app:layout_constraintTop_toBottomOf="@+id/toolbar"
app:layout_constraintVertical_bias="0.034"
app:layout_editor_absoluteY="56dp"
tools:ignore="MissingConstraints" />

<ImageView
android:id="@+id/imageView2"
android:layout_width="163dp"
android:layout_height="160dp"
android:layout_marginTop="8dp"

android:layout_marginEnd="8dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/toolbar"
app:srcCompat="@drawable/image3" />

<LinearLayout
android:id="@+id/linearLayout"
android:layout_width="match_parent"
android:layout_height="170dp"
android:orientation="horizontal"
android:padding="10dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/imageView2">

SAJILO CODING 26 Computer -SDS


20SDSCE01158

<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="10dp"
android:layout_weight="1"
app:cardBackgroundColor="@color/box2"
app:cardCornerRadius="20dp"
app:cardElevation="1dp">

<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">

<ImageView
android:id="@+id/Android"
android:layout_width="58dp"
android:layout_height="60dp"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:layout_centerInParent="true"

android:layout_marginStart="50dp"
android:layout_marginTop="32dp"
android:foregroundGravity="center"
android:labelFor="@id/txtandroid"
app:srcCompat="@drawable/android" />

<TextView
android:id="@+id/txtandroid"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:layout_marginStart="58dp"
android:layout_marginTop="103dp"
android:fontFamily="sans-serif"
android:text="Android"

SAJILO CODING 27 Computer -SDS


20SDSCE01158

android:textColor="@color/white"
android:textStyle="bold"
tools:ignore="SpeakableTextPresentCheck" />

</RelativeLayout>
</androidx.cardview.widget.CardView>

<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="10dp"

android:layout_weight="1"
android:id="@+id/jva"
app:cardBackgroundColor="@color/box2"
app:cardCornerRadius="20dp"
app:cardElevation="1dp">

<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">

<ImageView
android:id="@+id/java"

android:layout_width="64dp"
android:layout_height="62dp"
android:layout_below="@id/textjava"
android:layout_alignParentTop="true"
android:layout_alignParentEnd="true"
android:layout_centerInParent="true"
android:layout_marginStart="50dp"
android:layout_marginTop="31dp"
android:layout_marginEnd="60dp"
app:srcCompat="@drawable/java" />

<TextView
android:id="@+id/textjava"
android:layout_width="wrap_content"

SAJILO CODING 28 Computer -SDS


20SDSCE01158

android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_alignParentEnd="true"
android:layout_marginTop="101dp"
android:layout_marginEnd="75dp"
android:fontFamily="sans-serif"
android:text="Java"
android:textColor="@color/white" />
</RelativeLayout>
</androidx.cardview.widget.CardView>

</LinearLayout>

<!-- this is 2nd menu ..........................................................................................-->

<LinearLayout
android:id="@+id/linearLayout2"
android:layout_width="match_parent"
android:layout_height="170dp"
android:orientation="horizontal"
android:padding="10dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"

app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/linearLayout">

<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="10dp"
android:layout_weight="1"
app:cardBackgroundColor="@color/box2"
app:cardCornerRadius="20dp"
app:cardElevation="1dp">

<RelativeLayout
android:layout_width="match_parent"

SAJILO CODING 29 Computer -SDS


20SDSCE01158

android:layout_height="match_parent">

<ImageView
android:id="@+id/cplus"
android:layout_width="62dp"
android:layout_height="63dp"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:layout_centerInParent="true"
android:layout_marginStart="56dp"
android:layout_marginTop="31dp"
android:labelFor="@id/textc_plus"
app:srcCompat="@drawable/c_plus" />

<TextView
android:id="@+id/textc_plus"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:layout_marginStart="74dp"
android:layout_marginTop="103dp"
android:fontFamily="sans-serif"
android:text="C++"

android:textColor="@color/white"
android:textStyle="bold"/>

</RelativeLayout>
</androidx.cardview.widget.CardView>

<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="10dp"
android:layout_weight="1"
app:cardBackgroundColor="@color/box2"
app:cardCornerRadius="20dp"
app:cardElevation="1dp">

SAJILO CODING 30 Computer -SDS


20SDSCE01158

<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">

<ImageView
android:id="@+id/c_only"
android:layout_width="67dp"
android:layout_height="70dp"
android:layout_below="@id/textc_only"
android:layout_alignParentTop="true"
android:layout_alignParentEnd="true"
android:layout_centerInParent="true"
android:layout_marginTop="28dp"

android:layout_marginEnd="55dp"
app:srcCompat="@drawable/c" />

<TextView
android:id="@+id/textc_only"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_alignParentEnd="true"
android:layout_marginTop="109dp"
android:layout_marginEnd="52dp"

android:fontFamily="sans-serif"
android:text="C language"
android:textColor="@color/white"
android:textStyle="bold"/>

</RelativeLayout>
</androidx.cardview.widget.CardView>

</LinearLayout>

<LinearLayout

SAJILO CODING 31 Computer -SDS


20SDSCE01158

android:id="@+id/linearLayout3"
android:layout_width="match_parent"
android:layout_height="170dp"
android:orientation="horizontal"
android:padding="10dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/linearLayout2">

<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="10dp"

android:layout_weight="1"
app:cardBackgroundColor="@color/box2"
app:cardCornerRadius="20dp"
app:cardElevation="1dp"
android:id="@+id/py">

<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">

<ImageView
android:id="@+id/python"
android:layout_width="61dp"
android:layout_height="61dp"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:layout_centerInParent="true"

android:layout_marginStart="56dp"
android:layout_marginTop="32dp"
android:labelFor="@id/textpython"
app:srcCompat="@drawable/python" />

SAJILO CODING 32 Computer -SDS


20SDSCE01158

<TextView

android:id="@+id/textpython"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:layout_marginStart="64dp"
android:layout_marginTop="100dp"
android:fontFamily="sans-serif"
android:text="Python"
android:textColor="@color/white"
android:textStyle="bold"/>

</RelativeLayout>
</androidx.cardview.widget.CardView>

<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="10dp"
android:layout_weight="1"
app:cardBackgroundColor="@color/box2"
app:cardCornerRadius="20dp"
app:cardElevation="1dp"
android:id="@+id/op">

<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">

<ImageView
android:id="@+id/erp"
android:layout_width="63dp"
android:layout_height="65dp"

android:layout_below="@id/textView09"
android:layout_alignParentTop="true"

SAJILO CODING 33 Computer -SDS


20SDSCE01158

android:layout_alignParentEnd="true"
android:layout_centerInParent="true"
android:layout_marginTop="25dp"

android:layout_marginEnd="58dp"
app:srcCompat="@drawable/documents" />

<TextView
android:id="@+id/textView09"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_alignParentEnd="true"
android:layout_marginTop="98dp"
android:layout_marginEnd="57dp"
android:fontFamily="sans-serif"
android:text="Old Paper"
android:textColor="@color/white"
android:textStyle="bold"/>

</RelativeLayout>
</androidx.cardview.widget.CardView>

</LinearLayout>

<!-- this is 4th menu .....................-->


<LinearLayout
android:id="@+id/linearLayout4"
android:layout_width="match_parent"
android:layout_height="170dp"
android:layout_marginTop="4dp"
android:orientation="horizontal"
android:padding="10dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/linearLayout3">

SAJILO CODING 34 Computer -SDS


20SDSCE01158

<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="10dp"
android:layout_weight="1"
app:cardBackgroundColor="@color/box2"
app:cardCornerRadius="20dp"
app:cardElevation="1dp">

<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">

<ImageView
android:id="@+id/web"
android:layout_width="58dp"
android:layout_height="60dp"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"

android:layout_centerInParent="true"
android:layout_marginStart="50dp"
android:layout_marginTop="30dp"
android:labelFor="@id/textpython"
app:srcCompat="@drawable/web" />

<TextView
android:id="@+id/textView10"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:layout_marginStart="64dp"
android:layout_marginTop="103dp"
android:fontFamily="sans-serif"
android:text="WEB"
android:textColor="@color/white"
android:textStyle="bold"/>

SAJILO CODING 35 Computer -SDS


20SDSCE01158

</RelativeLayout>
</androidx.cardview.widget.CardView>

<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="10dp"
android:layout_weight="1"
app:cardBackgroundColor="@color/box2"
app:cardCornerRadius="20dp"
app:cardElevation="1dp">

<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">

<ImageView
android:id="@+id/deve"

android:layout_width="58dp"
android:layout_height="60dp"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:layout_centerInParent="true"
android:layout_marginStart="50dp"
android:layout_marginTop="30dp"
android:labelFor="@id/textpython"
app:srcCompat="@drawable/deve" />

<TextView
android:id="@+id/textView100"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_alignParentEnd="true"
android:layout_marginTop="108dp"
android:layout_marginEnd="62dp"
android: fontFamily="sans-serif"

SAJILO CODING 36 Computer -SDS


20SDSCE01158

android:text="Developer"

android:textColor="@color/white"
android:textStyle="bold"/>
</RelativeLayout>
</androidx.cardview.widget.CardView>

</LinearLayout>

</androidx.constraintlayout.widget.ConstraintLayout>

</ScrollView>
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>

<com.google.android.material.navigation.NavigationView
android:id="@+id/nav"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="start"

android:background="#F8FBF0"
app:headerLayout="@layout/header"
app:menu="@menu/nav_items" />

</androidx.drawerlayout.widget.DrawerLayout>

viii). Dashbord.xml

package com.example.SaziloCoding;

import androidx.annotation.NonNull;
import androidx.appcompat.app.ActionBarDrawerToggle;
import androidx.appcompat.app.AlertDialog;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;
import androidx.cardview.widget.CardView;
import androidx.core.view.GravityCompat;

SAJILO CODING 37 Computer -SDS


20SDSCE01158

import androidx.drawerlayout.widget.DrawerLayout;
import androidx.swiperefreshlayout.widget.SwipeRefreshLayout;

import android.annotation.SuppressLint;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Color;
import android.net.Uri;
import android.os.Bundle;
import android.view.Gravity;
import android.view.MenuItem;
import android.view.View;
import android.view.WindowManager;
import android.widget.ImageView;
import android.widget.Toast;

import com.google.android.material.navigation.NavigationView;

public class dashbord extends AppCompatActivity implements


NavigationView.OnNavigationItemSelectedListener {

Toolbar toolbar;
DrawerLayout drwerlayout;
NavigationView nav;
ImageView Android;
ImageView java;
ImageView cplus, c_only;
CardView py;
CardView op;
ImageView deve;
SwipeRefreshLayout swipeRefreshLayout;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.dashbord);
//////////////////////////////////////////////////////////////

SAJILO CODING 38 Computer -SDS


20SDSCE01158

swipeRefreshLayout = findViewById(R.id.swipe_refresh);
swipeRefreshLayout.setOnRefreshListener(new SwipeRefreshLayout.OnRefreshListener() {
@Override

public void onRefresh() {


swipeRefreshLayout.setRefreshing(false);
Intent intent = new Intent(dashbord.this,dashbord.class);
startActivity(intent);
finish();
Toast.makeText(dashbord.this, "Refreshed", Toast.LENGTH_SHORT).show();

});

py = findViewById(R.id.py);
cplus = findViewById(R.id.cplus);
java = findViewById(R.id.java);

Android = findViewById(R.id.Android);
c_only = findViewById(R.id.c_only);
op = findViewById(R.id.op);
deve = findViewById(R.id.deve);

drwerlayout = findViewById(R.id.drwerlayout);

nav = findViewById(R.id.nav);
nav.setNavigationItemSelectedListener(this);
toolbar = findViewById(R.id.toolbar);
setSupportActionBar(toolbar);

//when user click on image view user can redirect another page which is that subject /////

SAJILO CODING 39 Computer -SDS


20SDSCE01158

py.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {

Intent p = new Intent(dashbord.this, python.class);


startActivity(p);

}
});

java.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent m = new Intent(dashbord.this, javarmain.class);
startActivity(m);
}
});

Android.setOnClickListener(new View.OnClickListener() {
@Override

public void onClick(View view) {


Intent i = new Intent(dashbord.this, Android_coming_soon.class);
startActivity(i);

}
});

cplus.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent c = new Intent(dashbord.this, cplus.class);
startActivity(c);
}
});
c_only.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {

SAJILO CODING 40 Computer -SDS


20SDSCE01158

Intent n = new Intent(dashbord.this, clanguage.class);


startActivity(n);
}
});

op.setOnClickListener(new View.OnClickListener() {

@Override
public void onClick(View view) {
Intent o = new Intent(dashbord.this, oldpaper.class);
startActivity(o);
}
});

deve.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent d = new Intent(dashbord.this, developer_profile.class);
startActivity(d);
}
});

//this code for open menu bar and close


// when user click on 3line menu side layout is open ///////////////////////////////////////////////////////

ActionBarDrawerToggle toggle = new ActionBarDrawerToggle(this, drwerlayout, toolbar,


R.string.navigation_drawer_open, R.string.navigation_drawer_close);
drwerlayout.addDrawerListener(toggle);
toggle.syncState();

//// this is for toggle view


// /////

@SuppressLint("NonConstantResourceId")

SAJILO CODING 41 Computer -SDS


20SDSCE01158

@Override
public boolean onNavigationItemSelected(@NonNull MenuItem item) {
switch (item.getItemId()) {

case R.id.dashbord_db:
//Intent n = new Intent(dashbord.this, dashbord.class);
// startActivity(n);

// finish();
break;

case R.id.feedback:
Intent intent = new Intent(Intent.ACTION_SENDTO);
String UriText = "mailto:" + Uri.encode("nkushwaha028@rku.ac.in") +"?subject="+
Uri.encode("Feedback") +"$body="+ Uri.encode("");
Uri uri = Uri.parse(UriText);
intent.setData(uri);
startActivity(Intent.createChooser(intent,"send email"));
break;

case R.id.share:

intent = new Intent(Intent.ACTION_SEND);


intent.setType("text/plain");
startActivity(Intent.createChooser(intent,"share via"));
break;

case R.id.dfo:
Intent intentt = new Intent(dashbord.this,developer_profile.class);
startActivity(intentt);
break;

case R.id.android:
Intent n = new Intent(dashbord.this,Android_coming_soon.class);

SAJILO CODING 42 Computer -SDS


20SDSCE01158

startActivity(n);
break;
case R.id.javaa:
Intent m = new Intent(dashbord.this,javarmain.class);
startActivity(m);
break;

case R.id.Clag:

Intent z = new Intent(dashbord.this,clanguage.class);


startActivity(z);
break;

case R.id.pyt:
Intent x = new Intent(dashbord.this,python.class);
startActivity(x);
break;
case R.id.cp:
Intent d = new Intent(dashbord.this,cplus.class);
startActivity(d);
break;

}
drwerlayout.closeDrawer(GravityCompat.START);
return true;

@Override
public void onBackPressed() {
AlertDialog.Builder alertDialog = new AlertDialog.Builder(dashbord.this);
alertDialog.setTitle("Exit App");
alertDialog.setMessage("Do you want to exit Sajilo Coding");
alertDialog.setPositiveButton("Yes", new DialogInterface.OnClickListener() {
@Override

SAJILO CODING 43 Computer -SDS


20SDSCE01158

public void onClick(DialogInterface dialogInterface, int i) {


finishAffinity();
}
});
alertDialog.setNegativeButton("No", new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialogInterface, int i) {

dialogInterface.dismiss();
}

});
alertDialog.show();

SAJILO CODING 44 Computer -SDS


20SDSCE01158
Chapter 11 :
SCREENSHOTS

SAJILO CODING 45 Computer -SDS


20SDSCE01158

SAJILO CODING 46 Computer -SDS


20SDSCE01158

SAJILO CODING 47 Computer -SDS


20SDSCE01158

SAJILO CODING 48 Computer -SDS


20SDSCE01158

Chapter 11 :

CONCLUSIONS

➢ In conclusion, Sajilo Coding is an excellent app for anyone looking to learn more about
computer programming. With comprehensive information on various programming
languages, the app is suitable for beginners and experienced programmers alike. The user-
friendly interface and easy navigation make it easy to find relevant information, and the
availability of old exam papers provides an excellent resource for practicing. Overall, Sajilo
Coding is a valuable tool for anyone looking to expand their knowledge and skills in computer
programming, and it's highly recommended for those seeking to start their journey towards
mastering programming.

➢ Sajilo Coding is an outstanding app that provides valuable resources and practical tools for
anyone interested in learning more about programming. With its user-friendly interface,
comprehensive information on various programming languages, and practical exercises, the
app is an excellent choice for anyone seeking to improve their coding skills.

SAJILO CODING 49 Computer -SDS


20SDSCE01158

Chapter 12 :

REFERENCES
www.google.com

www.stackoverflow.com

www.w3schools.com

www.github.com

www.youtube.com

SAJILO CODING 50 Computer -SDS

You might also like