18 research outputs found

    Generating SQL queries from visual specifications

    Get PDF
    Abstract: Structured Query Language (SQL) is the most widely used declarative language for accessing relational databases, and an essential topic in introductory database courses in higher learning institutions. Despite the intuitiveness of SQL, formulating and comprehending written queries can be confusing, especially for undergraduate students. One major reason for this is that the simple syntax of SQL is often misleading and hard to comprehend. A number of tools have been developed to aid the comprehension of queries and improve the mental models of students concerning the underlying logic of SQL. Some of these tools employed visualisation and animation in their approach to aid the comprehension of SQL. This paper presents an interactive comprehension aid based on visualisation, specifically designed to support the SQL SELECT statement, an area identified in the literature as problematic for students. The visualisation tool uses visual specifications depicting SQL operations to build queries. This is expected to reduce the cognitive load of a student who is learning SQL. We have shown with an online survey that adopting visual specifications in teaching systems assist students in attaining a richer learning experience in introductory database courses

    Plasma nitriding of CA-6NM steel: effect of H2 + N2 gas mixtures in nitride layer formation for low N2 contents at 500 ºC

    No full text
    This work aims to characterize the phases, thickness, hardness and hardness profiles of the nitride layers formed on the CA-6NM martensitic stainless steel which was plasma nitrided in gas mixtures containing different nitrogen amounts. Nitriding was performed at 500 ºC temperature, and 532 Pa (4 Torr) pressure, for gas mixtures of 5% N2 + 95% H2, 10% N2 + 90% H2, and 20% N2 + 80% H2, and 2 hours nitriding time. A 6 hours nitriding time condition for gas mixture of 5% N2 + 95% H2 was also studied. Nitrided samples results were compared with non-nitrided condition. Thickness and microstructure of the nitrided layers were characterized by optical microscopy (OM), using Villela and Nital etchants, and the phases were identified by X-ray diffraction. Hardness profiles and hardness measured on surface steel were determined using Vickers hardness and nanoindentation tester, respectively. It was verified that nitrided layer produced in CA-6NM martensitc stainless steel is constituted of compound layer, being that formation of the diffusion zone was not observed for the studied conditions. The higher the nitrogen amounts in gas mixture the higher is the thickness of the nitrided layer and the probability to form different nitride phases, in the case γ'-Fe4N, ε-Fe2-3N and CrN phases. Intrinsic hardness of the nitrided layers produced in the CA-6NM stainless steel is about 12-14 GPa (~1200-1400 HV)
    corecore