St Xavier's College, Jaipur
(Affiliated to The University of Rajasthan)
(Approved under Section 2(f) and 12(B) of UGC Act, 1956)
A Christian Minority Educational Institution under Section 2(g) of NCMEI Act, 2004
Mahapura Road, Nevta, Rajasthan-302029
Technoid 2022
TECHNOID'22: Transcending Horizons, "Tech-it to the future"
TECHNOID'22: Transcending Horizons, "Tech-it to the future"
GAMERS LEAGUES (GAMING)
RETRO RUN(GAMING)
TECHNOID PREMIER LEAGUE (TPL)
CODESMASH (DEBUGGING]
ROBOIGNITORS [ROBOTIC]
UNLOCK-IT (TECH QUIZ)
ARTICISIE (GRAPHIC DESIGNING)
PEXELS [ONLINE PHOTOGRAPHY)
ORIGINATION [PRODUCT LAUNCH)
Top 10 Frequently Asked Pattern Programs in Java
In this post, "Top 10 Frequently Asked Pattern Programs in Java", we will look at some of the most commonly asked pattern questions. These questions are one of the most common questions asked by teachers and interviewers. To understand the program to print pattern, it is important to have some knowledge and coding skills—and if you're looking for a good way to improve your coding skills in Java, then this post is for you!
Top 10 Frequently Asked Pattern Programs in Java
Java Ques 1: Program in Java to print right angle triangle using * sign.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | public class Demosxcpattern{ public static void main(String args[]){ int row=5; System.out.println("pattern using *\n"); for(int i=0; i<row; i++) { for(int j=0; j<=i; j++) { System.out.print("* "); } System.out.println(); } } } |
Java Ques 2: Program in java to print pyramid pattern using * sign.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | public class Demosxcpattern{ public static void main(String args[]) { int sp,star=0; int rows=8; System.out.println("star pattern pyramid\n"); //outer loop for printing rows for(int i = 1; i <= rows; i++) { // print leading space for(sp = 1; sp <= rows-i; sp++) { System.out.print(" "); }// print star while(star != (2*i - 1)){ System.out.print("*"); star++; } star=0; // move to next row System.out.print("\n"); } } } |
Java Ques 3: Program in Java to print inverted right triangle star pattern using * sign.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | public class Demosxcpattern{ public static void main(String args[]) { System.out.println("Pattern \n "); for(int i = 8; i > 0; i--) { /* Prints one row of triangle */ for(int j = i; j > 0; j--) { System.out.print("* "); } System.out.print("\n"); } } } |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | public class demosxcpascal { public static void main(String[] args) { int row=7, i, j, space, number; for(i=0; i<row; i++) { for(space=row; space>i; space--) { System.out.print(" "); } number=1; for(j=0; j<=i; j++) { System.out.print(number+ " "); number = number*(i-j)/(j+1); } System.out.print("\n"); } } } |
Java Ques 4: Program in Java to print the following pattern
010101
101010
010101
101010
010101
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | public class demosxcpattern { public static void main(String args[]) { int n; System.out.println("pattern program \n"); for(int i = 1; i <= 5; i++) { if(i%2 == 0) { n = 0; for(int j = 1; j <= 6; j++) { System.out.print(n); n = (n == 0)? 1 : 0; } } else { n = 1; for(int j = 1; j <= 6; j++) { System.out.print(n); n = (n == 0)? 1 : 0; } } System.out.println(); } } } |
Output:-
Java Ques 5: Program in Java to print the following pattern
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | public class demosxcpattern { public static void main(String args[]) { System.out.println("Pattern Program \n"); for(int i = 1; i <= 6; i++) { for(int j = 6-i; j < 5; j++) { System.out.print(" "); } for(int k = i; k <= 6; k++) { System.out.print(k); } System.out.println(); } } } |
Java Ques 6: Program in Java to print the following pattern
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | public class demosxcpattern { public static void main(String args[]) { int t = 1; System.out.println("pattern program \n"); for(int i = 5; i >= 1; i--) { for(int j = 1; j <= i; j++) { System.out.print(t++ + " "); } System.out.println(); } } } |
Java Ques 7: Program in Java to print the following pattern
11 2
1 2 3
1 2 3 4
1 2 3 4 5
1 2 3 4
1 2 3
1 2
1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | public class demosxcpattern { public static void main(String[] args) { int rows = 5; System.out.println("Pattern Program"); for (int i = 1; i <= rows; i++) { for (int j = 1; j <= i; j++) { System.out.print(j+" "); } System.out.println(); } //Printing lower half of the pattern for (int i = rows-1; i >= 1; i--) { for (int j = 1; j <= i; j++) { System.out.print(j+" "); } System.out.println(); } } } |
Output:-
Java Ques 8: Program in Java to print the following pattern
12 2
3 3 3
4 4 4 4
5 5 5 5 5
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | public class demosxcpattern { public static void main(String[] args) { int rows = 5; System.out.println("Pattern Program"); for (int i = 1; i <= rows; i++) { for (int j = 1; j <= i; j++) { System.out.print(i+" "); } System.out.println(); } } } |
Java Ques 9: Program in Java to print the following pattern
5 4 3 2 1
4 3 2 1
3 2 1
2 1
1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | public class demosxcpattern { public static void main(String[] args) { int rows = 5; System.out.println("Pattern Program \n"); for (int i = rows; i >= 1; i--) { for (int j = i; j >= 1; j--) { System.out.print(j+" "); } System.out.println(); } } } |
Java Ques 10: Program in Java to print the following pattern
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | public class demosxc { public static void main(String[] args) { int rows = 5; System.out.println("Pattern Program \n"); //for upper pattern for (int i = rows; i >= 1; i--) { for (int j = 1; j <= i; j++) { System.out.print(j+" "); } System.out.println(); } //for lower for (int i = 2; i <= rows; i++) { for (int j = 1; j <= i; j++) { System.out.print(j+" "); } System.out.println(); } } } |
Research engagement -Projects and Papers
Along with the workshops and special guest lectures, the Department of Computer Science offers a Research Platform to the young technocrats through their engagements with innovative research-based projects and research papers. Students of the department are motivated to perform some concept-based surveys and then analyse the information to conclude facts to support the research objectives. A few of the Student-Faculty Research Projects initiated by the department included: the E-Farming with IoT Project, E-Governance (ERP) Project, Cyber Security Education Project, etc. In addition, every individual faculty of the department guided and motivated students to write research articles related to the upcoming technologies, review papers, and papers on the basis of the survey-based study. Many of the students presented their papers on the day of the First National Symposium on “The Impact of Socioeconomic Policies on Global Development” organized by the Research Cell of the College on March 10-11, 2022.
Training cum Internship Program (ADD ON COURSE)- Web App Development using Python Web Framework- Django
The Certificate Course of Django was conducted by Centre from FUTURO FOCUS, Chennai which was being held from 5th October 2021 to 22nd December 2021 using online platform. The total Number of Participants was 17 under the guidance of Prof. Saravana Kumar (Director of Futuro Focus) had completed our course with good result the main aim of this course was to know and how to develop a web page after the completion of the course there was a 15 day rigorous internship were the students were asked to developed a small mini project using python framework Django. Mr Saravana Kumar, had dedicatedly delivered his knowledge to us and has helped the students in their doubts session regarding their project. The sessions were lively. In the course outcome the students learnt about Python, HTML, CSS, and Django. Every student had actively participated in it.
One day training program on “Soft Skills - A fundamental Requisite for All Professions”
On Monday the 16th August 2021 the Department of Computer Science of St Xavier’s Collee – Jaipur organised one day training program on “Soft Skills - A fundamental Requisite for All Professions” for the benefit of pre-final year students of the department. Prof Dr. Dawn S S, Professor (Research) and Head Centre for Waste Management, Sathyabama Institute of Science and Technology, Chennai 600 119 was the resource person fro this training program. During the formal introduction session Ms. Keren Daniel, coordinator of the progamme welcomed the gathering and also introduced resource persons to the audience. While addressing students, Prof. Dr. Dawn SS , focused on the efforts of capturing the attention of the student through a virtual game for providing state-of-the art facilities to the students to make them successful in their career. Adding to it, the speaker also emphasized on the ability to Adapt to the change for the future and gain confidence in difficult situations. And ended on a note saying, “If you are a person who learns quickly, it is because you know how to adapt”. The event came successfully to end after the Q&A Sessions.
ASUS ROG Phone 6 Pro: World's Fastest Smartphone
ASUS has just launched its fastest smartphone. It has Qualcomm Snapdragon 8+ Gen 1 chipset with an impressive 165Hz AMOLED screen, IPX4 rating and 50MP SONY IMX766 camera. It comes in Phantom Black and Storm White colour.
Also Read: 13 Coolest Google Search Tricks: Change the Way You Look at Google Search
Also Read: How to root Android using Kingo root (pc version) [2021 guide]
ASUS ROG Phone 6 Pro (image source: ASUS)
ASUS ROG Phone 6 Specification: Source ASUS
| Launch date: Status Coming soon. | Exp. release 2022, July 13 |
|---|---|
| Dimensions: | 173 x 77 x 10.3 mm (6.81 x 3.03 x 0.41 in) |
| Chipset: | Qualcomm SM8450 Snapdragon 8+ Gen 1 (4 nm) (SoC) |
| GPU: | Adreno 730 |
| OS: | Android 12 |
| CPU: | Octa-core (1x3.19 GHz Cortex-X2 & 3x2.75 GHz Cortex-A710 & 4x1.80 GHz Cortex-A510) |
| Network: | Technology GSM / CDMA / HSPA / LTE / 5G |
| Selfie Camera: | Single: 12 MP, 28mm (wide) Features: Panorama, HDR Video: 1080p@30fps |
| Sound: | Loudspeaker: Yes, with stereo speakers (2 amplifiers) with 3.5mm jack, 32-bit/384kHz audios |
| Body: |
Dimensions: 173 x 77 x 10.3 mm (6.81 x 3.03 x 0.41 in) Weight: 239 g (8.43 oz) Build: Glass front (Gorilla Glass Victus), glass back (Gorilla Glass 3), aluminum frame SIM:Dual SIM (Nano-SIM, dual stand-by) IPX4 water resistant Illuminated RGB logo (on the back) Pressure sensitive zones (Gaming triggers) |
| Main Camera: | Triple: 50 MP, f/1.9, (wide), 1/1.56", 1.0µm, PDAF 13 MP, f/2.2, (ultrawide) 5 MP, (macro) Features: LED flash, HDR, panorama Video: 8K@24fps, 4K@30/60/120fps, 1080p@30/60/120/240fps, 720p@480fps; gyro-EIS |
| Memory: | Internal: 128GB 8GB RAM, 128GB 12GB RAM, 256GB 12GB RAM, 512GB 16GB RAM |
| Other: |
WLAN: Wi-Fi 802.11 a/b/g/n/ac/6e, tri-band, Wi-Fi Direct, hotspot
Bluetooth: 5.2, A2DP, LE, aptX HD, aptX Adaptive
GPS: Yes, with A-GPS. Up to dual-band: GLONASS (1), BDS (2), GALILEO (2), QZSS (2), NavIC
USB: USB Type-C 3.1 (side), USB Type-C 2.0 (bottom), accessory connector, USB On-The-Go
Sensors: Fingerprint (under display, optical), accelerometer, gyro, proximity, compass Battery: Li-Po 6000 mAh, non-removable Charging: Fast charging 65W, 100% in 42 min (advertised) Reverse charging 10W, Power Delivery 3.0, Quick Charge 5, |
Guest Lecture on Specific and Focused Career Study with a Professionals Certificate
The Department of Computer Science in association with UpGrad (India's largest online higher education company) has offered a “Data Science Certificate Programme”. To provide detailed information about the course an Introductory Session (Guest Lecture) on Specific and Focused Career Study with a Professional Certificate on Data Science Certificate Programme was organized on 15 November 2021 at 12 noon. Recourse Person for Introductory Session (Webinar) Topic: Data Science Learnathon - From Classroom to Halls of Ivy Expert Name: Snehanshu Sekhar Sahu "Applied Scientist in E-Commerce, Previously AI Researcher at American Express, Data Science & Machine Learning Educator at UpGrad" Zoom.
Webinar (Guest Lecture)- IT & Research Aptitude Development Among new generations for Development of New Technologies in Covid'19 pandemic
The Department of Computer Science of St. Xavier’s College Jaipur has organized a guest Lecture on "IT & Research Aptitude Development Among new generations for Development of New Technologies in Covid'19 pandemic" for our BCA students on the Topic: IT & Research Aptitude Development Among new generations for Development of New Technologies (“IT Industry Scenario and Career Guidance). The Expert Name was Mr. Pankaj Sharma, Delivery Manager & Practice Head - Salesforce & EAM, Senior Consultant at, Pratham Software (PSI). The program coordinator of the panel discussion were Dr Dharmveer Yadav and Dr. Vaishali Singh.
Webinar on the theme (India: Key features of The Personal Data Protection Bill, 2019- A vision for future security)
The Xavier’s Cyber Security Cell (XCSC) in association with Department of Computer Science and Tech-X Club has organized a Webinar on the theme (India: Key features of The Personal Data Protection Bill, 2019- A vision for future security) on 27-28 January 2022 to celebrate the Data Privacy Day. The resource persons were Dr. Shafiq Ul Rehman, Assistant Professor (III) at Amity University Rajasthan (AUR), Jaipur, India and Dr. Ajeet Singh Poonia, Current Designation: Associate (Professor due from 2013), Additional Assignment: Dean, Industry Institute Relations, Dean, MCA & Nodal Officer (Centre for Cyber Security). The program coordinator of the panel discussion were Dr Arpita Banerjee and Dr. Vaishali Singh. The event was held online through the Google meet platform and the students actively participated in the event.
Panel Discussion with 3 speakers Panel Discussion-“E Commerce Privacy Roadmap for Secure Digital Transactions”
The Department of Computer Science in collaboration with Tech-X Club have organized the Panel Discussion on the theme “E Commerce Privacy Roadmap for Secure Digital Transactions” on 22nd November 2021 at 1:00 PM. The webinar focused on the road map for new decade creating a secure future for Digital payments. The Panellists were Mr Amit Kumar Singh, Assistant Professor Amity University, Rajasthan and Mr Mukesh Choudhary, founder and CEO of Cyberops Infosec Chief Technology Officer and Cyber Crime Consultant at Police Commissionerate, Jaipur. The Panellists include a range of subject matter experts who answered questions about the importance of protecting our digital payments and highlighted the steps we can take to secure the same. The program coordinator of the panel discussion were Ms. Pushpanjali Saini and Dr. Vaishali Singh and the emcees were Chaitanya Maheshwari and Harshita Rathore of BCA II. The event was held online through the Google meet platform and the students actively participated in the event and ask the questions to secure the digital payments in future.
Social Engagement
The ISREAC/UBA Programme of the College offers a unique opportunity to students to engage themselves across several communities in around the college vicinity. student engagements are considered important at Xavier’s not only because of their relationship with student learning system but also represent a disposition towards society that are marginalised and ain a life-long learning experience in sharing and caring as humans.
The students of our department are extremely enthusiastic in working for the underprivileged. They helped in training students in the slums of the most backward part of Jaipur near Shastri Nagar which is situated in heart of the city. With their digital literacy they help in collecting the survey details through digital techniques. They have a deep sense of belonginess towards the deprived.
Dept. research outcome Publication (Informatica’s)
“Research is to see what everybody else has seen and to think what nobody else has thought.” - Albert Szent-Gyorgyi Research is a common activity which is required in all disciplines and pursuits to match pace with the ever-changing world. It has the power of finding solutions to the real life's problems in a systematized and formalized manner, which further sets the model for the rest of the world. The Department of Computer Science always aims to provide opportunities to the students to explore their potential in research and development along with their academic pursuits. To fulfil the objective of imparting practical knowledge and utilizing it in the field of research and invention, the Department of Computer Science has introduced the annual department Journal, Informatica. This Students' Journal is surely going to excel the research spirit of our students.
link: https://stxaviersjaipur.org/informaticas.aspx
Dept. Highlights outcome Publication (X-Techzine)
In today's dynamic ecosphere, technology plays a vital role in every area of life and society of its ascendant movement. The Department of Computer Science has taken up the responsibility of accelerating this movement through its Annual Magazine X-Techzine. The key objective of the department magazine is to make students understand the presentation of the creativity, experiences, and the ongoing elevations of the technical world. The magazine offers a platform for the students to express their writing and presentation skills. It also hones the technical illustrative abilities of the students by providing the opportunity to design it fully and bring it into an exhibiting asset.




































