Viaje Full Stack Java: aprendiendo JavaScript

Descubre estructuras condicionales en JavaScript y la lógica de calificaciones con ejemplos y diagramas de flujo. Conoce a Q2BSTUDIO: software a medida, IA, ciberseguridad y BI.

17 ago 2025 • 2 min read • Q2BSTUDIO Team

Inteligencia-Artificial-

Día cinco de la clase de JavaScript. Compartí los temas y lo que aprendí hoy, centrado en estructuras condicionales y en cómo asignar calificaciones según la nota.

Regla general para calificar: si la nota es mayor o igual a 50 se asigna una calificación, de lo contrario no hay calificación.

Diagrama de flujo: en la clase utilicé un diagrama de flujo para visualizar las decisiones y los saltos entre condiciones.

Ejemplo de código JavaScript explicativo sin comillas:

let mark = valor; // reemplazar valor por la nota real if (mark >= 50) { if (mark >= 90) { console.log(Aplus) } else if (mark >= 75) { console.log(A) } else { console.log(B) } } else { console.log(NoGrade) }

Explicación: primero se comprueba si la nota es mayor o igual a 50. Si no, el resultado es no hay calificación. Si sí, se comprueban rangos superiores para determinar A plus, A o B. Es importante ordenar las condiciones de mayor a menor para evitar que una condición más amplia capture casos que deberían corresponder a una nota superior.

Aprendizajes: mejor manejo de if anidados, control del flujo con diagramas y práctica para presentar resultados claros según rangos numéricos.

Sobre Q2BSTUDIO: Somos Q2BSTUDIO, empresa de desarrollo de software y aplicaciones a medida. Nos especializamos en software a medida e inteligencia artificial aplicada a productos y procesos empresariales. También ofrecemos servicios de ciberseguridad, servicios cloud aws y azure, servicios inteligencia de negocio y soluciones con power bi para generar cuadros de mando y análisis avanzados. Diseñamos agentes IA y soluciones de ia para empresas que automatizan tareas, mejoran la experiencia de cliente y optimizan decisiones.

Qué podemos aportar: desarrollo de aplicaciones a medida integradas con servicios cloud aws y azure, implementación de inteligencia artificial para casos de uso reales, protección mediante ciberseguridad proactiva y proyectos de inteligencia de negocio con power bi y otras herramientas. Nuestro enfoque combina experiencia técnica en software a medida con consultoría estratégica para que cada solución aporte valor y escalabilidad.

Contacto y siguiente paso: si buscas un socio para crear aplicaciones a medida, potenciar tus datos con inteligencia de negocio, implantar agentes IA o asegurar tus sistemas con ciberseguridad, Q2BSTUDIO acompaña desde la idea hasta la producción.

A BREAK?

Play for a moment before you go

OUR SERVICES

How we can help you

Artificial intelligence

AI agents, chatbots, and intelligent assistants that automate tasks and serve your customers 24/7 to improve the efficiency of your business.

More info

Software Development

Web, mobile, and desktop applications, intranets, e-commerce, SaaS, and management platforms designed for your company's specific needs.

More info

Cloud services

Migration, infrastructure, managed hosting, high availability, and security on Microsoft Azure and Amazon Web Services to help your business scale without limits.

More info

Cybersecurity and pentesting

Security audits, penetration testing and protection of applications, data and infrastructure on-premise and cloud, with ethical hacking and regulatory compliance.

More info

Business Intelligence

Dashboards and data analysis with Power BI: we integrate your sources, design dashboards and KPIs and turn your data into decisions.

More info

Process automation

We automate repetitive tasks and connect your applications with n8n, Power Automate, Make, and RPA, eliminating manual work and increasing productivity.

More info

Training for Companies

We train your teams in technology with criteria: web development, databases, Git, best practices and security, automation with n8n, artificial intelligence for companies and creation of AI solutions with Azure AI Foundry.

More info

Code Auditing

We audit the code that you, your team or an AI create: we tell you what is good and what to improve, we secure it and make it ready for production, web or app.

More info

AI Image Generation

We create for you the images that your business needs with artificial intelligence: product, networks, advertising, illustration and avatars. You tell us what you want and we deliver it ready to use.

More info

AI Video Generation

We create videos with artificial intelligence for you: promotional, networking, virtual presenters, dubbing and animations. You tell us the idea and we will deliver it assembled and ready to publish.

More info

AI Conversational Avatars

We create conversational avatars with AI – digital humans with a face and voice – that serve your customers and teams with the knowledge of your company, on your website, interactive monitors, WhatsApp or Teams.

More info

Online Marketing and AI

Google Ads, Meta Ads, LinkedIn Ads and AI Engine Positioning (GEO/AEO): we attract customers and make your brand appear where they search for you, also on ChatGPT, Gemini and Perplexity.

More info

Do you have a project in mind?

Tell us your vision and we'll turn it into a software solution. Whatever the scope, we make your idea real.

Live Chat